[Koha-bugs] [Bug 17655] New: Insertion of intranetuserjs should be moved to the end of <body>

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 17 17:16:41 CET 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17655

            Bug ID: 17655
           Summary: Insertion of intranetuserjs should be moved to the end
                    of <body>
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Staff Client
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: barton at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list