Koha/koha-tmpl/intranet-tmpl/prog/en/modules/labels
Aleisha 4bf881d32c Bug 15663: Fix 'remove selected items', add a 'delete batch' button
In this patch I have fixed the 'Remove selected items' button.
I have also added a 'Delete batch' button like there is in the Patron Card Creator.

To test:
1) Go to Tools -> Label creator -> New label batch
2) Add 2 items
3) Select the checkbox next to an item you just added and click 'Remove selected items'
4) A pop-up will say that you are yet to select an item. (Please ignore the mistake in the pop-up message, this is being fixed in Bug 15662)
5) Apply patch and refresh. Confirm there is now a 'Delete batch' button in the toolbar
6) Select one item and click 'Remove selected items'
7) Confirm the item is deleted from the batch
8) Select the final item and click 'Remove selected items'
9) Pop-up message will tell you that deleting this item will delete the batch. Click 'Okay'
10) Click 'Delete batch' then 'Okay'
11) Confirm you are redirected to the Labels page and the batch has been deleted.

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Works as advertised

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
2016-02-23 22:53:41 +00:00
..
label-bib-search.tt
label-edit-batch.tt Bug 15663: Fix 'remove selected items', add a 'delete batch' button 2016-02-23 22:53:41 +00:00
label-edit-layout.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
label-edit-profile.tt Bug 15211: adding Tools section sidebar to label creator 2015-12-31 14:58:58 +00:00
label-edit-template.tt Bug 15211: adding Tools section sidebar to label creator 2015-12-31 14:58:58 +00:00
label-home.tt Bug 15211: adding Tools section sidebar to label creator 2015-12-31 14:58:58 +00:00
label-manage.tt Bug 15211: adding Tools section sidebar to label creator 2015-12-31 14:58:58 +00:00
label-print.tt Bug 14667: (QA followup) make the UI show 'Label creator' consistently 2015-10-06 12:43:07 -03:00
result.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00
search.tt Bug 11880: Select what has been selected before 2015-08-28 10:09:02 -03:00
spinelabel-home.tt
spinelabel-print.tt Revert bug 13618 - "Prevent XSS in the Staff Client and the OPAC" due to performance issues 2016-02-11 19:39:53 +00:00