Koha/koha-tmpl/intranet-tmpl/prog
Kyle M Hall a64ca0a8cf 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 <wizzyrea@gmail.com>
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.
2012-02-17 19:22:49 +01:00
..
en Bug 4054 - Double-clicking the 'place hold' button can result in duplicate holds 2012-02-17 19:22:49 +01:00
img Bug 6836: Add jQuery dataTables plugin 2012-01-27 11:33:11 +01:00
pdf bug 4188: move PDF templates for printed purchase orders 2010-07-02 08:49:44 -04:00
sound Bugzilla 1080 to add enhancement for sound. Only changed circulation.tmpl/pl and returns.tmpl/pl and added a single syspref (set to off) along with very compressed OGG files for sound which are on the open source "artistic" licence. 2010-02-18 08:12:25 -05:00