[koha-commits] main Koha release repository branch 3.14.x updated. v3.14.06-45-gf6c7edb

Git repo owner gitmaster at git.koha-community.org
Mon May 19 16:15:32 CEST 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, 3.14.x has been updated
       via  f6c7edbff198a8e3e821aaebcaaf3582d005106e (commit)
      from  ca668451a71b178dbb37539c329af1de9726513e (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 f6c7edbff198a8e3e821aaebcaaf3582d005106e
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>
    (cherry picked from commit d90b4b6a08aa946fd40d1c1a45d1cc4ad64c30e5)

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

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