Koha/koha-tmpl/intranet-tmpl/prog/en/modules/serials
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
..
tables
acqui-search-result.tt
acqui-search.tt
checkexpiration.tt
claims.tt
result.tt Bug 11529: Add templates for biblio title display. Unify display. 2019-08-05 15:03:19 +01:00
routing-preview-slip.tt
routing-preview.tt
routing.tt Bug 8260: user rank order instead of absolute rank to set dropdowns on routing.pl 2019-10-17 14:42:18 +01:00
serials-collection.tt Bug 17674: Handling of special cases 2020-03-19 09:31:02 +00:00
serials-edit.tt Bug 24649: Fix two other missing <li> tags for cloned subfields 2020-02-17 10:37:26 +00:00
serials-home.tt
serials-search.tt Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
showpredictionpattern.tt Bug 22408: Subscription entry form cleanup 2019-04-30 12:54:30 +00:00
subscription-add.tt Bug 23888: Do not allow invalid vendor id on creating a subscription 2020-03-27 12:14:09 +00:00
subscription-batchedit.tt
subscription-bib-search.tt
subscription-detail.tt Bug 23448: (follow-up) Add comments on markup structure 2019-08-19 10:17:41 +01:00
subscription-frequencies.tt
subscription-history.tt
subscription-numberpatterns.tt Bug 23013: Upgrade DataTables in the staff client 2019-08-22 15:23:19 +01:00
subscription-renew.tt Bug 7047: (QA follow-up) Add missing filters 2019-12-23 12:07:08 +00:00
viewalerts.tt