]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 9 Jun 2017 15:21:05 +0000 (12:21 -0300)
commit6bb4a0405abe0d03be3915644c6a05e2e3ee1e9f
tree15f645f8881bf593b8f694ac0f4e6d61ab5be67a
parent7c9273be169ca4da47059aa152f8c6ea11137a52
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>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt