Main Koha release repository https://koha-community.org
Find a file
Owen Leonard 5ee8268a8d Bug 11767 - Use validation plugin when creating new authority framework tag
The page for adding a new tag to an authority framework 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.

The patch also moves some tag markup out of the script and into the
template where it belongs.

To test, apply the patch and go to Administration -> Authority types ->
MARC structure -> New tag. Try submitting the form without entering a
tag number. This should trigger a validation warning.

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

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>
2014-02-19 15:51:12 +00:00
acqui
admin Bug 11767 - Use validation plugin when creating new authority framework tag 2014-02-19 15:51:12 +00:00
authorities
basket
C4 Bug 11730: ensure that C4::Charset loads C4::Context 2014-02-18 21:52:21 +00:00
catalogue
cataloguing
circ
course_reserves
debian Bug 11757: remove dependency on POE 2014-02-15 01:38:15 +00:00
docs
errors
etc
install_misc Bug 11757: remove dependency on POE 2014-02-15 01:38:15 +00:00
installer Bug 11628: add missing staffaccess permission to French userflags.sql file 2014-02-18 20:43:31 +00:00
Koha
koha-tmpl Bug 11767 - Use validation plugin when creating new authority framework tag 2014-02-19 15:51:12 +00:00
labels Bug 11222: fix crash that can occur in search for items to add to label batch 2013-11-23 19:54:38 +00:00
members Bug 11662: remove disused member-picupload.pl 2014-02-05 01:36:30 +00:00
misc
offline_circ
opac Bug 11773: fix crash in sco-main.pl if no active currency is set 2014-02-18 21:03:30 +00:00
OpenILS
patron_lists
patroncards
plugins Bug 7804 - Add Koha Plugin System - QA Followup 2 2013-03-20 14:50:19 -04:00
reports
reserve
reviews
rotating_collections
selenium
serials
services Bug 7178: Acquisition item creation improvement 2012-03-26 11:07:23 +02:00
skel
sms
suggestion
svc
t Bug 11619: (follow-up) fix QueryParser.t 2014-02-04 18:44:07 +00:00
tags
test
tmp/modified_authorities
tools
virtualshelves
xt
.htaccess
.mailmap
about.pl Bug 11772: Show warning on About page:System information if no active currency is defined 2014-02-18 20:54:23 +00:00
changelanguage.pl
edithelp.pl
fix-perl-path.PL installer: improvements to fix-path-perl.PL on Win32 2007-12-20 19:20:12 -06:00
help.pl Bug 11238: contruct links to the appropriate manual version dynamically 2013-11-23 19:30:16 +00:00
INSTALL
install-CPAN.pl
INSTALL.debian
INSTALL.fedora7 Bug 11757: remove dependency on POE 2014-02-15 01:38:15 +00:00
INSTALL.opensuse Bug 11757: remove dependency on POE 2014-02-15 01:38:15 +00:00
INSTALL.ubuntu
koha_perl_deps.pl bug 10548: fix count of missing required dependencies by koha_perl_deps.pl 2013-07-11 14:03:32 +00:00
kohaversion.pl Bug 11268: DBRev 3.15.00.016 2014-01-31 15:55:24 +00:00
LICENSE
mainpage.pl
Makefile.PL
MANIFEST.SKIP
README
README.robots
rewrite-config.PL

Koha is a free software integrated library system.

Koha is distributed under the GNU GPL version 3 or later.
Please read the file LICENSE for more details.

To install or upgrade Koha, please see the INSTALL file appropriate
to your platform.

Report bugs at http://bugs.koha-community.org/

Visit the Koha Project website at http://www.koha-community.org/