Bug 25473: Move JavaScript out of the footer of addorderiso2709.tt
authorOwen Leonard <oleonard@myacpl.org>
Thu, 14 May 2020 11:47:51 +0000 (11:47 +0000)
committerAleisha Amohia <aleishaamohia@hotmail.com>
Thu, 11 Jun 2020 23:55:20 +0000 (23:55 +0000)
commit04fc143d25f743b9d58c6fd1f28ba1d9cd0216cb
treebec04660ad60f753dc45945ac6d583b78626970e
parent1bf0d71710f52d7e398e8cb89808aa23de65fed5
Bug 25473: Move JavaScript out of the footer of addorderiso2709.tt

This patch undoes the move of the JavaScript block to the footer made in
Bug 22734. The item information tab can include embedded JavaScript for
cataloging plugins, and these don't currently work with JS in the
footer.

To test, apply the patch and test the JavaScript driven features of the
"Add to basket from a staged file" page:

- Acquisitions -> Vendor -> Basket -> Add to basket from a staged file
  - MARC and Card previews, select all/clear all
  - Item information tab: Cataloging plugins for fields like
    date acquired, barcode
  - Default accounting details tab: Show inactive control

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 9e665fb9a753032fed711959f1d8cc5780655b8c)
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt