Bug 11766 - Use validation plugin when creating new authority type
authorOwen Leonard <oleonard@myacpl.org>
Fri, 14 Feb 2014 18:11:04 +0000 (13:11 -0500)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 19 May 2014 14:46:10 +0000 (16:46 +0200)
commitf0d2331759cc2a868e9ce114b6051081b0ce47a5
tree793cc9cf2d1448f0804c9bdadf6c2ff3cbbdb0dd
parent881607f8ff6688c5824acbd4e51c4f63e34aa564
Bug 11766 - Use validation plugin when creating new authority type

The new authority type entry form uses custom form validation
JavaScript. This patch removes it in favor of using HTML5 validation
attributes and Koha's built-in validation plugin.

To test, go to Administration -> Authority types and click "New
authority type." Try submitting the form without entering any data. You
should see a warning about required fields. Upon entering text in those
fields the warning should disappear.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit ac9d872fefc867d4f068d425bcfcb929435809bd)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt