Koha-clms/koha-tmpl
Indranil Das Gupta a698cd39db Bug 14632: Fix alert message for single item batch
Fixes the incorrect msg "Please select at least label to delete."
for attempts to delete from single patron batches. Notifies the
user that doing so will delete the batch. It disallows direct
deletion, instead suggests the users to use the 'Delete batch'
option assuming the users know what they are doing.

Test plan
=========

1/ Load a single patron batch in edit mode and attempt to delete
   the single record. The JS alert message will inform that "Please
   select at least label to delete."
2/ Apply patch and refresh page and try to delete the single record
   again.
3/ This time the alert will inform the user that doing so will delete
   the batch and should that be desired action to choose the 'Delete
   batch' option from the toolbar.

Signed-off-by: Frederic Demians <f.demians@tamil.fr>
  It works as before but with an understantable warning message.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 85ae12e586)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
2015-11-29 21:29:08 +01:00
..
intranet-tmpl Bug 14632: Fix alert message for single item batch 2015-11-29 21:29:08 +01:00
opac-tmpl Bug 14955: Don't double encode chars in the "Show more" link 2015-11-29 21:22:13 +01:00
favicon.ico
…
index.html
…
intranet.html
…
opac.html
…