Koha/koha-tmpl/opac-tmpl
Jonathan Druart b02f40d6e1 Bug 11127: OPAC suggestions form - complain when trying to 'delete selected' without having selected any
To reproduce:
1/ go on opac-suggestions.pl
2/ create a suggestion
3/ click on the delete link without checking any checkbox
The form is submitted with a message "The selected suggestions have been
deleted.".

Test plan:
0/ enable the bootstrap theme
1/ after applying the patch, click on delete without any checkbox
checked, a js alert should occur.
2/ check at least a cb and click on the delete link. The deletion should
work.

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>
Passes all tests and QA script, works as described.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-03-13 16:48:15 +00:00
..
bootstrap Bug 11127: OPAC suggestions form - complain when trying to 'delete selected' without having selected any 2014-03-13 16:48:15 +00:00
ccsr Bug 11649 - Always use words "copy number" - opac prog 2014-02-18 23:52:10 +00:00
lib Bug 9916 - Use DataTables in the OPAC 2013-08-19 14:19:02 +00:00
prog Bug 11647: (follow-up) test if user is logged in before proposing to subscribe or unsubcribe from serial routing list 2014-03-13 14:54:42 +00:00