Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Owen Leonard d95ad086a3 Bug 11791 - Use validation plugin when creating new city
The page for adding a new city includes some custom form
validation JavaScript which can be removed in favor of HTML5 validation
attributes and Koha's built-in validation plugin. This patch does so.

To test, apply the patch and go to Administration -> Cities -> New city.
Try submitting the form without entering a city or zip code. This should
trigger a validation warning.

Submission of the form with valid data should work correctly. Editing an
existing city should also work correctly.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Note: This patch changes the behavior. Before the patch, only 1 out of city
and zip was required. Now both are. Since the 2 inputs were marked as
required, I think they should be.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-02-20 16:59:01 +00:00
..
acqui Bug 11787 - Use validation plugin when adding new vendor 2014-02-20 16:56:41 +00:00
admin Bug 11791 - Use validation plugin when creating new city 2014-02-20 16:59:01 +00:00
authorities Bug 10691: use authority ID in see-also links in authority search results (staff) 2014-01-16 22:35:58 +00:00
basket Bug 9218: fix intranet cart email for non english templates 2013-10-31 23:53:25 +00:00
batch Bug 9210: wrap long lines in printed hold notices 2014-01-15 15:51:44 +00:00
catalogue Bug 11649 - Always use words "copy number" - intranet 2014-02-18 23:51:24 +00:00
cataloguing Bug 11503: [Follow-up] fix another typo 2014-01-14 20:08:58 +00:00
circ Bug 11649 - Always use words "copy number" - intranet 2014-02-18 23:51:24 +00:00
course_reserves Bug 11788 - Use validation plugin when creating new course 2014-02-20 16:56:56 +00:00
errors Bug 2780 - Capitalize strings consistently (Error pages) 2012-04-10 10:03:32 +02:00
help Bug 11503: fix several typos 2014-01-13 20:47:03 +00:00
installer Bug 2774 - Path to theme is hard-coded in many places 2013-06-07 09:04:15 -07:00
labels Bug 11363: make units in label printer profile form translatable 2014-01-17 15:09:55 +00:00
members Bug 11618: ensure jQuery timepicker is picked up by the i18n toolchain 2014-02-18 21:19:16 +00:00
offline_circ Bug 10288 - Fix a tiny typo on "Pending offline circulation actions" 2013-05-20 12:23:32 -07:00
patron_lists Bug 11670 - Remove sorting from patron lists action columns 2014-02-10 15:59:27 +00:00
patroncards Bug 9924 - Simplify and rename patron card creator error message include 2013-09-08 19:19:23 +00:00
plugins Bug 7804 - Add Koha Plugin System - QA Followup 2 2013-03-20 14:50:19 -04:00
reports Bug 10718: fix items with no checkouts report 2013-09-08 20:04:43 +00:00
reserve Bug 11649 - Always use words "copy number" - intranet 2014-02-18 23:51:24 +00:00
reviews Bug 8143 [REVISED] Upgrade jQuery tabs to current jQueryUI version 2012-06-10 15:22:58 +02:00
rotating_collections Bug 2780 - Capitalize strings consistently (reserve, review, rotating collections) 2012-04-10 10:04:13 +02:00
serials Bug 10851: add additional "missing" statuses for serials issues 2014-02-04 17:43:49 +00:00
services Bug 10475 - Item form in acquisition not hiding subfields properly 2013-07-12 20:40:15 +00:00
sms Bug 2780 - Capitalize strings consistently - various 2012-04-10 10:04:16 +02:00
suggestion Bug 11721 - Use new DataTables include in suggestions template 2014-02-10 15:56:50 +00:00
tags Bug 2693: add ability to filter by reviewer name on tag review page 2013-12-02 15:58:04 +00:00
test Bug 2774 - Path to theme is hard-coded in many places 2013-05-20 11:11:04 -07:00
tools Bug 11785 - Use validation plugin when uploading local cover images 2014-02-20 16:56:21 +00:00
virtualshelves Bug 10714 [Follow-up] Redirect to list contents view upon cancel after initiating edit from list contents view (staff) 2014-02-20 16:54:17 +00:00
z3950 Bug 9265 - Switch to HTML5 doctype in OPAC and staff client 2013-01-31 11:47:04 -05:00
about.tt Bug 11772: (follow-up) make warning about no active currency a link to currency setup page 2014-02-18 20:59:56 +00:00
auth.tt Bug 11146: Show a go back link on no permission page 2013-11-23 19:43:37 +00:00
intranet-main.tt Bug 10888: Don't hide authorities module from users who lack permission to edit authorities 2013-09-21 17:59:05 +00:00