Bug 17655 - Insertion of intranetuserjs should be moved to the end of <body>
Summary: Insertion of intranetuserjs should be moved to the end of <body>
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-17 16:16 UTC by Barton Chittenden
Modified: 2017-02-19 11:53 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Barton Chittenden 2016-11-17 16:16:41 UTC
At present, intranetuserjs is expanded somewhere before the </body> tag.

This means that everything in intranetuserjs *must* be wrapped in

$(document).ready( function(){
  ...
});

It's considered good jquery coding practice to move all jquery directly before the </body> tag so that this isn't necessary.

I believe that this is the case for the OPAC already.