Bug 15711: Fixing the 'Delete selected' button on patroncard images
authorAleisha Amohia <aleishaamohia@hotmail.com>
Wed, 24 Aug 2016 01:08:11 +0000 (01:08 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Wed, 28 Dec 2016 13:37:22 +0000 (13:37 +0000)
commitbd3879e037727cdc2cc851aa910c68bd257ee6f4
tree30ad3085f37a5a2578b97d07676259a67bef3c5e
parent1b492938e4eee4d1babe26417cfbf69cede2b844
Bug 15711: Fixing the 'Delete selected' button on patroncard images

To test:
1) Go to Tools -> Patron Card Creator -> Manage images
2) Upload an image if you haven't already
3) Click Delete selected without selecting any images
4) Notice broken behaviour as described in Description
5) Apply patch, refresh page
6) Click Delete selected without selecting any images
7) Notice alert. Click OK
8) Select one image or more, click Delete selected
9) Notice confirm delete message.

Sponsored-by: Catalyst IT
Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
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/patroncards/image-manage.tt