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)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Fri, 12 Jun 2020 21:20:55 +0000 (23:20 +0200)
commiteac9f6d3b471e50ef573368e72e22e7acb01e474
tree76c7354631da5ea58b1a08225303837dec2e5115
parent8767c5524223ca2e423501a75fb8893faed92ad2
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)

(cherry picked from commit 04fc143d25f743b9d58c6fd1f28ba1d9cd0216cb)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt