Koha/koha-tmpl/intranet-tmpl/prog/js
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
..
pages Bug 24808: enable translation on results.js 2020-05-04 08:23:55 +01:00
acq.js
acquisitions-menu.js
additem.js
addorderiso2709.js Bug 24386: Prevent double form submission on adding orders to basket from a file 2020-03-27 12:13:21 +00:00
admin-menu.js
ajax.js
audio_alerts.js
auth-finder-search.js
automatic_item_modification_by_age.js
background-job-progressbar.js
basket.js Bug 24522: Show alert when trying to add nothing to a list in staff 2020-05-04 09:44:42 +01:00
basketgroup.js
biblio_framework.js
cart.js
catalog.js
cataloging.js
cataloging_additem.js
categories.js
charts.js
checkouts.js Bug 25291: Escape barcode in ReturnClaims table display 2020-04-29 16:18:54 +01:00
circ-patron-search-results.js
commons.js
datatables.js
file-upload.js
funds_sorts.js
holds.js
ill-availability-partner.js Bug 23173: (follow-up) Display available partners 2020-04-06 11:04:59 +01:00
ill-availability.js Bug 23173: Provide core infrastructure 2020-04-06 11:04:19 +01:00
ill-list-table.js Bug 24043: (QA follow-up) Fix another TypeError when retrieving status name 2020-05-01 08:10:35 +01:00
item_search_fields.js
letter.js
localcovers.js
mana.js
marc_modification_templates.js
marc_subfields_structure.js
members-menu.js
members.js
merge-record.js
messaging-preference-form.js
offlinecirc.js
onboarding.js
rotating-collections.js
serials-toolbar.js
showpredictionpattern.js
sms_providers.js
staff-global.js
subscription-add.js Bug 23888: (follow-up) Wrap English string in translation function 2020-03-27 12:14:21 +00:00
suggestions.js Bug 24819: (follow-up) Rename suggestor to suggester 2020-04-20 13:36:42 +01:00
table_filters.js
tools-menu.js
viewlog.js Bug 25250: (bug 24982 follow-up) Don't disable checkboxes if modification log 2020-04-27 11:41:38 +01:00
xmlControlfield.js
z3950_search.js