Bug 20731: Move template JavaScript to the footer: Call number browser MARC plugin
authorOwen Leonard <oleonard@myacpl.org>
Wed, 3 Jan 2018 17:41:09 +0000 (17:41 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 6 Jul 2018 13:05:37 +0000 (13:05 +0000)
commita943a924edff7db28495b0c92341f5357ad952ce
tree2a45d949306dd557db907e4ad4d7eebd9212bc2b
parent64761e56ccfbf98844d2fc8c7aa68ee608a2b162
Bug 20731: Move template JavaScript to the footer: Call number browser MARC plugin

This patch modifies the call number browser plugin so that JavaScript is
in the footer instead of the header.

This patch also makes some unrelated changes: The page title has been
corrected; DataTables code has been removed as it was unused.

To test, apply the patch and configure a MARC framework to use
cn_browser.pl as the plugin for tag 952 subfield o.

Open an item for editing. The "Full call number" field should have an
active "..." link next to it. Clicking this should trigger a popup
window with the Call number browser. Confirm that submitting a new
search from this window works correctly.

Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/value_builder/cn_browser.tt