| Summary: | Insertion of intranetuserjs should be moved to the end of <body> | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Barton Chittenden <barton> |
| Component: | Staff interface | Assignee: | 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: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
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.