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)
committerMason James <mtj@kohaaloha.com>
Tue, 24 Jan 2017 23:49:52 +0000 (12:49 +1300)
commit8c2104062eaa6ea01c621cc31eeb146759008e2d
tree3bbab92741bba2ceef67ddd9ef3221139edc71d9
parent9077d5a172149c92485bb3b89778c6493a7d8f44
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: Mason James <mtj@kohaaloha.com>
koha-tmpl/intranet-tmpl/prog/en/modules/patroncards/image-manage.tt