]> git.koha-community.org Git - koha.git/commit
Bug 15982 - Serials numbering patterns can be deleted without warning
authorOwen Leonard <oleonard@myacpl.org>
Fri, 4 Mar 2016 17:07:44 +0000 (12:07 -0500)
committerFrédéric Demians <f.demians@tamil.fr>
Tue, 15 Mar 2016 08:54:49 +0000 (09:54 +0100)
commit4874e158414de8fd657e42a8084032b3309d9909
treea4d934aa6d3d75f561827a508241bbd40842b187
parentda75cdb0ff1c5d6fee8689461dac65b8710ef32b
Bug 15982 - Serials numbering patterns can be deleted without warning

A JavaScript alert should ask the user to confirm deletion of a serial
numbering pattern. This patch adds this to the template.

To test, apply the patch and go to Serials -> Manage numbering patterns.

- In the list of patterns, click any "Delete" link.
- Verify that a JavaScript alert is triggered.
- Test that cancelling the alert cancels the deletion operation.
- Test that confirming the alert allows the deletion to complete.

Signed-off-by: Nicole C Engard <nengard@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit 6179f04c8afcbc965756cf7daea039be986727d7)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
(cherry picked from commit ee5780d4b7e3c83ad81610da259029cbe8c4ebde)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-numberpatterns.tt