]> git.koha-community.org Git - koha.git/commit
Bug 19659: Move JS to the footer: Suggestions and tags
authorOwen Leonard <oleonard@myacpl.org>
Mon, 20 Nov 2017 18:05:14 +0000 (18:05 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 11 Dec 2017 14:34:22 +0000 (11:34 -0300)
commit1a9b8a00ae9c98545b8247c91b3c8b406c2ccf06
treec56722626cc09072e70caae0009085695b1024af
parent03e01e670d14b21abc6d16d4a423e396ad3645ae
Bug 19659: Move JS to the footer: Suggestions and tags

This patch modifies the staff client's suggestions and tags templates so
that JavaScript is included in the footer instead of the header.

This patch adds a new JS file, acquisitions-menu.js, which will be added
to each template which has the Acquisitions sidebar menu (in this case,
suggestions). Highlighting of the current page in the sidebar menu will
be broken for pages which have not been modified to use this file.

To test, apply the patch and test the JavaScript-driven features of
suggestions and tags pages: All button controls, DataTables
functionality, form validation, etc.

Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>
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/suggestion/suggestion.tt
koha-tmpl/intranet-tmpl/prog/en/modules/tags/list.tt
koha-tmpl/intranet-tmpl/prog/en/modules/tags/review.tt
koha-tmpl/intranet-tmpl/prog/js/acquisitions-menu.js [new file with mode: 0644]