Bug 18135: Show alert if no authorities selected in batch record deletion
authorAleisha Amohia <aleishaamohia@hotmail.com>
Thu, 16 Feb 2017 22:19:59 +0000 (22:19 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 3 Mar 2017 18:37:37 +0000 (18:37 +0000)
commit7a5f17ff6ecbec3a7f73fa54b900dae909996b29
tree889470bfcb0a05ead628c2d0405f8b232e627694
parent5e7a78475a7f8fdb178b8beb4c84d781b5f09a72
Bug 18135: Show alert if no authorities selected in batch record deletion

To test:
1) Go to Tools -> Batch record deletion
2) Select Authorities as record type, put in an auth id, click Continue
3) Unselect the authorities and click Delete selected records
4) Confirm an alert shows up
5) Clear the alert and confirm deleting the authority still works as
normal

Sponsored-by: Catalyst IT
Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_delete_records.tt