[koha-commits] main Koha release repository branch 17.05.x updated. v17.05.00-43-g7bf1bf3

Git repo owner gitmaster at git.koha-community.org
Mon Jun 12 12:49:19 CEST 2017


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, 17.05.x has been updated
       via  7bf1bf36f4b075979e4e47beb5de0891a1f1e533 (commit)
       via  dc1f51959ad1b7a5e7ca7e6259e0e42cc6260643 (commit)
      from  9c2d9c89a437605308ebf58d45fca858a3f56593 (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 7bf1bf36f4b075979e4e47beb5de0891a1f1e533
Author: Fridolin Somers <fridolin.somers at biblibre.com>
Date:   Wed May 31 16:10:41 2017 +0200

    Bug 18706 - Remove useless Javascript
    
    Whe checking a subfield to be deleted, the code
      $(this).val($(this).siblings("[name='subfield']").val());
    is useless, the checkbox already contains the subfield code :
      <input type="checkbox" ... name="disable_input" value="[% ite.subfield %]" />
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit 6bb4a0405abe0d03be3915644c6a05e2e3ee1e9f)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

commit dc1f51959ad1b7a5e7ca7e6259e0e42cc6260643
Author: Fridolin Somers <fridolin.somers at biblibre.com>
Date:   Wed May 31 16:02:44 2017 +0200

    Bug 18706 - subfields to delete not disabled anymore in batch item modification
    
    In Tools > Batch item modification, one can click a checkbox to delete a subfield.
    This click use to disable the input to change the field value.
    
    This comes from the patch : Bug 13501: Move "Required" and checkbox after input/select
    Because input is found using JQuery next().
    
    This patch replaces with $(this).parent().find("[name='field_value']").
    
    Test plan :
    - Go to Tools > Batch item modification
    - Enter a barcode and submit
    - Click on a checkbox on a non-mandatory subfield
    => Without patch the input or select is not disabled
    => With patch the input or select is disabled
    - Submit
    => Check that subfield is deleted
    
    Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    (cherry picked from commit 7c9273be169ca4da47059aa152f8c6ea11137a52)
    Signed-off-by: Fridolin Somers <fridolin.somers at biblibre.com>

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

Summary of changes:
 .../intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt      |    9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list