]> git.koha-community.org Git - koha.git/commit
Bug 18706 - Remove useless Javascript
authorFridolin Somers <fridolin.somers@biblibre.com>
Wed, 31 May 2017 14:10:41 +0000 (16:10 +0200)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 12 Jun 2017 10:42:43 +0000 (12:42 +0200)
commit7bf1bf36f4b075979e4e47beb5de0891a1f1e533
tree11079c7412a9db6978e44fe293600a8c2987b53c
parentdc1f51959ad1b7a5e7ca7e6259e0e42cc6260643
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@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 6bb4a0405abe0d03be3915644c6a05e2e3ee1e9f)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt