[koha-commits] main Koha release repository branch 3.14.x updated. v3.14.00-63-g5ad1590

Git repo owner gitmaster at git.koha-community.org
Tue Dec 17 18:24:13 CET 2013


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  5ad159077bc17ca4c3d7b482a91bf01ec0a46908 (commit)
      from  cedbd79ef150e0f2989fffabbaf08df333c432f6 (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 5ad159077bc17ca4c3d7b482a91bf01ec0a46908
Author: Galen Charlton <gmc at esilibrary.com>
Date:   Tue Dec 3 17:06:48 2013 +0000

    Bug 11333: use jQuery validator plugin for CSV profiles forms
    
    This patch adds the use of the jQuery validator plugin for
    the two forms (new and edit) on the CSV profiles page.  Doing
    this standardizes messages that gets displayed on validation
    errors.
    
    This patch, in the process, fixes a bug where if a page has
    more than one validated form, only the first such form would
    get the validator plugin applied to it -- it looks like $.validate()
    does not do implicit iteration.
    
    To test:
    
    [1] Apply the patch, then go to Tools | CSV profiles.
    [2] Create a new profile, but leave the name and the MARC/SQL
        fields blank.  When you click the submit button, the form
        should not be submitted; instead, text will be displayed
        to the right of each input that lacks required input.
    [3] As above, but change the profile type and verify that the form
        is not submitted unless all of the required fields are filled in.
    [4] Edit an existing form, then empty the MARC/SQL field.  Try
        submitting the form; it should refuse to submit the form
        and display text saying that the field is required.
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
    Fixed some tabs, works nicely and as described.
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>
    (cherry picked from commit 31a3fe1537de393cad1e215bb43f6f1e659c6f72)
    Signed-off-by: Fridolin SOMERS <fridolin.somers at biblibre.com>

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

Summary of changes:
 koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js            |    4 +++-
 koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt |    4 ++--
 2 files changed, 5 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list