Koha/koha-tmpl/intranet-tmpl/prog/en
Rafal Kopaczka 866017e152 Bug 13254 - Delete record don't wait for confirmation
In some cases (eg. when Staf Client Search is active), when user choose
Edit->Delete record on record tool bar, browser don't wait for
confirmation and goes immediately to delete record.

To reproduce:
1. Search for some biblio records and choose one without items attached.
2. Note that there, must be "Return to search results" box on left side,
bug works in that case, when in normal view everything work fine.
3. Click Edit->Delete record, watch that confirmation box shows, but
don't wait for OK and runs immediately. If you are fast enough to
click OK, then you get error as below, because record was deleted
earlier.

To test:
1. Apply patch.
2. Follow reproduce steps.
3. Check if waits for confirmation in all cases.
4. Check if deletes record after confirm.

Followed test plan. Patch behaves as expected.
Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Confirmed the problem and that the patch fixes it.
Good catch!

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
2014-11-16 21:21:43 -03:00
..
css Bug 8836 [Alt QA Followup] - Add confirmation dialog for deleting collections 2014-11-06 15:12:20 -03:00
data
includes Bug 13254 - Delete record don't wait for confirmation 2014-11-16 21:21:43 -03:00
js Bug 13258 - Clicking the "show checkouts" button should return focus to the barcode field 2014-11-16 21:17:11 -03:00
lib/yui Bug 13139 - Move treeview jQuery plugin outside of language-specific directory 2014-10-27 12:36:53 -03:00
modules Bug 10878: Correct Display856uAsImage pref description 2014-11-16 21:18:21 -03:00
xslt Bug 6681: introduce XSLT scripts to remove items and links 2014-11-14 09:31:36 -03:00
columns.def Bug 11673: columns.def has swapped last and first name of alt contact 2014-08-07 16:17:21 -03:00