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

Git repo owner gitmaster at git.koha-community.org
Wed May 21 09:47:23 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  1e6c33c41b1b6c94bb8bc84626ed64da42abe6d5 (commit)
      from  865e58399ca0bd6f1ce27a1323b75ffa99cefe2a (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 1e6c33c41b1b6c94bb8bc84626ed64da42abe6d5
Author: Owen Leonard <oleonard at myacpl.org>
Date:   Wed Feb 19 11:36:30 2014 -0500

    Bug 11791 - Use validation plugin when creating new city
    
    The page for adding a new city 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.
    
    To test, apply the patch and go to Administration -> Cities -> New city.
    Try submitting the form without entering a city or zip code. This should
    trigger a validation warning.
    
    Submission of the form with valid data should work correctly. Editing an
    existing city should also work correctly.
    
    Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    Note: This patch changes the behavior. Before the patch, only 1 out of city
    and zip was required. Now both are. Since the 2 inputs were marked as
    required, I think they should be.
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>
    (cherry picked from commit d95ad086a35a7927bb7bc02453a1a1341387dc6a)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

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

Summary of changes:
 .../intranet-tmpl/prog/en/modules/admin/cities.tt   |   19 ++++++-------------
 1 file changed, 6 insertions(+), 13 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list