[koha-commits] main Koha release repository branch master updated. v3.14.00-438-gd90b4b6

Git repo owner gitmaster at git.koha-community.org
Wed Feb 19 00:43:19 CET 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, master has been updated
       via  d90b4b6a08aa946fd40d1c1a45d1cc4ad64c30e5 (commit)
      from  113ce7808a69373117e7697ad16d06169fe97279 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d90b4b6a08aa946fd40d1c1a45d1cc4ad64c30e5
Author: Owen Leonard <oleonard at myacpl.org>
Date:   Fri Feb 14 16:24:10 2014 -0500

    Bug 11771 - Use validation plugin when creating new MARC framework tag
    
    The page for adding a new tag to a MARC 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 creation out of the script and into
    the template where it belongs.
    
    To test, apply the patch and go to Administration -> MARC bibliographic
    framework -> 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 at bigballofwax.co.nz>
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    Great improvement! Before this patch, I got a JS alert but the form was
    submitted anyway.
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

-----------------------------------------------------------------------

Summary of changes:
 admin/marctagstructure.pl                          |   12 ++-----
 .../prog/en/modules/admin/marctagstructure.tt      |   37 +++++++++-----------
 2 files changed, 19 insertions(+), 30 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list