Bug 17655

Summary: Insertion of intranetuserjs should be moved to the end of <body>
Product: Koha Reporter: Barton Chittenden <barton>
Component: Staff interfaceAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt, veron
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

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.