Koha/koha-tmpl/intranet-tmpl/prog/js
Jonathan Druart c52e15689f
Bug 23888: Do not allow invalid vendor id on creating a subscription
It will avoid crash and invalid data when creating/updating a
subscription.

This could have been done with a AJAX query but seems more convenient
this way.

Test plan:
- Create or update a subscription
- In the "Vendor" input try an empty string, a valid vendor's id, and
invalid one.
=> With an empty string you get the existing alert message
=> With a valid id you do not get any messages
=> With an invalid id you are not allowed to go to page 2

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-03-27 12:14:09 +00:00
..
pages Bug 24219: Preserve sort order when returning to result list 2020-03-06 15:01:50 +00: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
basketgroup.js
biblio_framework.js
cart.js
catalog.js
cataloging.js
cataloging_additem.js
categories.js
charts.js
checkouts.js Bug 24765: Updated on date in Claims returned starts off as 12/31/1969 2020-03-27 11:50:16 +00:00
circ-patron-search-results.js
commons.js
datatables.js Bug 24662: Remove global variables MSG_* from datatables.inc 2020-03-11 13:49:15 +00:00
file-upload.js
funds_sorts.js
holds.js
ill-list-table.js Bug 24518: Fix IE11 partner filtering 2020-03-18 17:52:13 +00:00
item_search_fields.js
letter.js Bug 24662: Remove global variables MSG_* from datatables.inc 2020-03-11 13:49:15 +00:00
localcovers.js
mana.js
marc_modification_templates.js
marc_subfields_structure.js
members-menu.js
members.js Bug 23808: (follow-up) Display card number in 'Guarantor information' in memberentry.pl 2020-03-20 15:22:47 +00:00
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: Do not allow invalid vendor id on creating a subscription 2020-03-27 12:14:09 +00:00
table_filters.js Bug 24662: Remove global variables MSG_* from datatables.inc 2020-03-11 13:49:15 +00:00
tools-menu.js
viewlog.js Bug 24982: (follow-up) Retain checkbox selections after for submit 2020-03-27 11:52:32 +00:00
xmlControlfield.js
z3950_search.js