]> git.koha-community.org Git - koha.git/commit
Bug 15981 - Serials frequencies can be deleted without warning
authorOwen Leonard <oleonard@myacpl.org>
Fri, 4 Mar 2016 16:52:25 +0000 (11:52 -0500)
committerFrédéric Demians <f.demians@tamil.fr>
Tue, 15 Mar 2016 08:54:34 +0000 (09:54 +0100)
commitda75cdb0ff1c5d6fee8689461dac65b8710ef32b
treea91c59025db0da6fc831982e5cce2b8d621f0bfd
parente7af53a4dbfcbe02c76dc9ff66281a7aa4ecb5d6
Bug 15981 - Serials frequencies can be deleted without warning

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

To test, apply the patch and go to Serials -> Manage frequencies

- In the list of frequencies, 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 4e82b8db94ee24ebd49541c25a6dac55cb8d543c)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
(cherry picked from commit 5d429ae9a797bb80ddf7482ef03b108456c9318a)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-frequencies.tt