http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4054

Liz Rea <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #7636|0                           |1
        is obsolete|                            |

--- Comment #4 from Liz Rea <[email protected]> 2012-02-14 17:10:21 UTC ---
Created attachment 7640
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=7640
Bug 4054 - Double-clicking the 'place hold' button can result in duplicate
holds

This commit adds a new jquery function to staff-global.js,
preventDoubleFormSubmit().
When used thusly: $('#form-id').preventDoubleFormSubmit();
It will prevent a submitted form from being submitted a second time.
It is currently only added to the Place Hold form in reserve/request.pl

http://bugs.koha-community.org/show_bug.cgi?id=4045
Signed-off-by: Liz Rea <[email protected]>
Tested:
Double clicking no longer causes identical double holds to be placed.
passes prove t xt t/db_dependent in line with current master.

Reminder: this will need to be added to the OPAC as well.

-- 
Configure bugmail: 
http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to