]> 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)
committerMason James <mtj@kohaaloha.com>
Sun, 30 Jul 2017 13:02:03 +0000 (01:02 +1200)
commite492af84154c03f4fb5dcf919a589510c35cfe7f
tree8bc0b49746252088d4362f4ffe833b6377384252
parent90fbd3d6eb92bc0d9fd75eba6d90421663368ec0
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>
(cherry picked from commit 7bf1bf36f4b075979e4e47beb5de0891a1f1e533)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt