Koha/koha-tmpl/intranet-tmpl
Owen Leonard d94be594a2
Bug 24522: Show alert when trying to add nothing to a list in staff
This patch modifies the JavaScript which handles the process of adding
items to a list in the staff client. Error-handling is added in the case
when a set of biblionumbers hasn't been passed to the vShelf function.

To test, apply the patch and perform a catalog search in the staff
client.

On the search results page, select any list from the "Add to list" menu
at the top of the search results table without checking any checkboxes.

You should get an alert, "No item was selected."

Also test that adding to a list works correctly after selecting one or
more titles.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-05-04 09:44:42 +01:00
..
js Bug 25016: Coce should not return a 1-pixel Amazon cover image 2020-04-17 09:28:49 +01:00
lib Bug 20501: Don't cut strings when unhighlighting in intranet search results 2020-04-22 09:31:17 +01:00
prog Bug 24522: Show alert when trying to add nothing to a list in staff 2020-05-04 09:44:42 +01:00