Bug 19600

Summary: Move admin templates JavaScript to the footer: Other catalog pages
Product: Koha Reporter: Owen Leonard <oleonard>
Component: TemplatesAssignee: Owen Leonard <oleonard>
Status: CLOSED FIXED QA Contact: Josef Moravec <josef.moravec>
Severity: enhancement    
Priority: P5 - low CC: jonathan.druart, josef.moravec, nick, simon.pouchol, testopia
Version: master   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on: 19594    
Bug Blocks: 17858    
Attachments: Bug 19600: Move admin templates JavaScript to the footer: Other catalog pages
Bug 19600: Move admin templates JavaScript to the footer: Other catalog pages
Bug 19600: Move admin templates JavaScript to the footer: Other catalog pages
Bug 19600: Move admin templates JavaScript to the footer: Other catalog pages
Bug 19600: (QA followup) Apply css to menu item for item_search_field page

Description Owen Leonard 2017-11-09 13:22:11 UTC
In order to conform to best practices for performance staff client template javascript should be in the footer instead of the header.

This patch will do so for the other catalog-related administration templates not covered in Bug 19594.
Comment 1 Owen Leonard 2017-11-09 13:29:00 UTC Comment hidden (obsolete)
Comment 2 Owen Leonard 2017-11-09 13:55:38 UTC Comment hidden (obsolete)
Comment 3 Simon Pouchol 2017-11-09 16:12:13 UTC Comment hidden (obsolete)
Comment 4 Josef Moravec 2017-12-05 11:00:23 UTC
Created attachment 69497 [details] [review]
Bug 19600: Move admin templates JavaScript to the footer: Other catalog pages

This patch modifies the staff client catalog-related administration
templates so that JavaScript is included in the footer instead of the
header.

To test, apply the patch and test the JavaScript-driven features of
each modified template: All button controls, DataTables functionality,
tabs, etc.

Signed-off-by: Simon Pouchol <simon.pouchol@biblibre.com>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Comment 5 Josef Moravec 2017-12-05 11:00:26 UTC
Created attachment 69498 [details] [review]
Bug 19600: (QA followup) Apply css to menu item for item_search_field page

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Comment 6 Jonathan Druart 2017-12-11 14:36:04 UTC
Pushed to master for 18.05, thanks to everybody involved!
Comment 7 Nick Clemens 2017-12-14 17:51:31 UTC
Awesome work all! Skipping for 17.11, enhancement