Koha/koha-tmpl/intranet-tmpl/prog/en/modules/admin
Owen Leonard e634a5ad82 Bug 11806 - Use validation plugin when creating new OAI set
The form for adding a new OAI indicates that two fields are
required but does nothing to enforce this rule. This can be
handled client-side with HTML5 validation attributes and Koha's built-in
validation plugin. This patch implements this.

To test, apply the patch and go to Administration -> OAI sets
configuration -> New set. Try submitting the form without entering a
setSpec and/or setName. Doing so should trigger a validation warning.

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

Followed test plan. Patch behaves as expected.
Signed-off-by: Marc Véron <veron@veron.ch>

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests and QA script, works as described.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-03-26 19:21:14 +00:00
..
preferences Bug 11459: use drop-down to set OrderPdfFormat syspref 2014-03-12 17:25:54 +00:00
searchengine/solr Bug 9265 - Switch to HTML5 doctype in OPAC and staff client 2013-01-31 11:47:04 -05:00
admin-home.tt Bug 7372: Move road types from the roadtype table to the ROADTYPE AV 2014-02-21 16:00:53 +00:00
aqbudget_user_search.tt Bug 7304: More permissions for budgets 2012-06-27 16:25:44 +02:00
aqbudgetperiods.tt Bug 10651 - Use new DataTables include in administration templates 2013-09-21 19:31:16 +00:00
aqbudgets.tt Bug 11605: fallback to default DataTables settings where possible 2014-03-10 19:05:51 +00:00
aqcontract.tt Bug 2835 - Inconsistent use of colon at the end of sentences 2013-04-02 09:03:42 -04:00
aqplan.tt Bug 2774 - Path to theme is hard-coded in many places 2013-05-20 11:11:04 -07:00
auth_subfields_structure.tt Bug 10602: Set default value for authority fields via the framework 2013-10-10 23:25:47 +00:00
auth_tag_structure.tt Bug 11605: fallback to default DataTables settings where possible 2014-03-10 19:05:51 +00:00
authorised_values.tt Bug 11918 : Fix typo on authorized values page 2014-03-11 14:23:11 +00:00
authtypes.tt Bug 11766 - Use validation plugin when creating new authority type 2014-02-19 15:47:57 +00:00
biblio_framework.tt Bug 11764 - Move repeatedly redefined function toUC() into staff-global.js 2014-02-18 20:49:30 +00:00
branch_transfer_limits.tt Bug 11605: fallback to default DataTables settings where possible 2014-03-10 19:05:51 +00:00
branches.tt Bug 11605: fallback to default DataTables settings where possible 2014-03-10 19:05:51 +00:00
categorie.tt Bug 11605: fallback to default DataTables settings where possible 2014-03-10 19:05:51 +00:00
checkmarc.tt Bug 10420 - Standardize spelling of "authorized" 2013-06-07 08:26:13 -07:00
cities.tt Bug 11605: fallback to default DataTables settings where possible 2014-03-10 19:05:51 +00:00
classsources.tt Bug 9631 - Replace YUI buttons on classification sources administration page with Bootstrap 2013-02-18 08:50:22 -05:00
clone-rules.tt Bug 2780 - Capitalize strings consistently (Admin pages) 2012-04-10 10:03:21 +02:00
currency.tt Bug 11792 - Use validation plugin when creating new currency 2014-02-20 16:58:49 +00:00
didyoumean.tt Bug 8726: Followup FIX save didyoumean syspref 2012-09-28 17:14:17 +02:00
fieldmapping.tt Bug 6037 [Follow-up] Invalid markup, missing breadcrumbs on Keyword to MARC Mapping page 2012-10-08 17:11:12 +02:00
item_circulation_alerts.tt Bug 8942: Translation process breaks javascript 2013-01-31 11:00:24 -05:00
itemtypes.tt Bug 11605: fallback to default DataTables settings where possible 2014-03-10 19:05:51 +00:00
koha2marclinks.tt Bug 2780 - Capitalize strings consistently (Admin pages) 2012-04-10 10:03:21 +02:00
marc_subfields_structure.tt Bug 8018: (follow-up) fixing some wrong capitalization 2013-12-27 00:35:50 +00:00
marctagstructure.tt Bug 11605: fallback to default DataTables settings where possible 2014-03-10 19:05:51 +00:00
matching-rules.tt Bug 9640 - Replace YUI button on record matching rules page with Bootstrap 2013-02-18 09:04:46 -05:00
oai_set_mappings.tt Bug 11877 - Eliminate use of deprecated jQuery .live() method 2014-03-26 19:15:01 +00:00
oai_sets.tt Bug 11806 - Use validation plugin when creating new OAI set 2014-03-26 19:21:14 +00:00
patron-attr-types.tt Bug 10420 - Standardize spelling of "authorized" 2013-06-07 08:26:13 -07:00
preferences.tt Bug 10651 - Use new DataTables include in administration templates 2013-09-21 19:31:16 +00:00
printers.tt Bug 11765 - Remove unused function isDate from templates 2014-02-18 20:51:38 +00:00
smart-rules.tt Bug 9818: Fixing capitalization and remove dollar sign 2013-04-25 21:53:40 -04:00
stopwords.tt Bug 11764 - Move repeatedly redefined function toUC() into staff-global.js 2014-02-18 20:49:30 +00:00
systempreferences.tt Bug 11765 - Remove unused function isDate from templates 2014-02-18 20:51:38 +00:00
transport-cost-matrix.tt Bug 8935 - transport cost matrix could be prettier 2012-10-22 17:51:11 +02:00
z3950servers.tt Bug 1047: Punctuation in site names no longer breaks Edit/Delete z39.50 server administration 2014-03-12 14:29:22 +00:00