Bug 12937: Deleting suggestions should ask for a confirmation
authorJonathan Druart <jonathan.druart@biblibre.com>
Wed, 17 Sep 2014 11:11:00 +0000 (13:11 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Wed, 24 Sep 2014 00:26:43 +0000 (21:26 -0300)
commit1b5c0966bbb600b6927fa04edcb1691a794f38f6
tree9e3699bf286c5a607af9ad52a4bb57cff1449b83
parent171b4e24b30ddceb04e45fb51c4adb6f921217a2
Bug 12937: Deleting suggestions should ask for a confirmation

On the suggestion management page, the librarian can choose to delete
suggestions but no confirmation is needed.
This could produce unexpected lost of data.

Test plan:
- go on the suggestion management page
- don't select any suggestion and try to delete (check the checkbox and submit the form).
  Verify that you get an alert.
- select 1 suggestion and delete it, verify you get a confirmation
  message
- select 1+ suggestions and delete it, verify you get a confirmation
  message

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt