]> git.koha-community.org Git - koha.git/commit
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)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 19 Feb 2014 15:47:57 +0000 (15:47 +0000)
commitac9d872fefc867d4f068d425bcfcb929435809bd
treeb257f5d1422cbff0b4ffa11279d13b885cfe7a85
parent6fd26558894869c0e80666007cab3b9edb090008
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>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt