[Koha-bugs] [Bug 17893] New: Move JavaScript to the footer on staff client catalog pages

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jan 12 17:43:51 CET 2017


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

            Bug ID: 17893
           Summary: Move JavaScript to the footer on staff client catalog
                    pages
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: enhancement
          Priority: P5 - low
         Component: Templates
          Assignee: oleonard at myacpl.org
          Reporter: oleonard at myacpl.org
        QA Contact: testopia at bugs.koha-community.org
                CC: claire_gravely at hotmail.com,
                    jonathan.druart at bugs.koha-community.org,
                    testopia at bugs.koha-community.org
        Depends on: 17870, 17418
            Blocks: 17858

This patch will move JavaScript to the footer on a number of pages in the
catalog module of the staff client:

basket/basket.tt
catalogue/ISBDdetail.tt
catalogue/MARCdetail.tt
catalogue/advsearch.tt
catalogue/detail.tt
catalogue/imageviewer.tt
catalogue/issuehistory.tt
catalogue/itemsearch.tt
catalogue/labeledMARCdetail.tt
catalogue/moredetail.tt
catalogue/results.tt
catalogue/search-history.tt

In the process I will be consolidating JS from several of those templates into
one separate JavaScript file. Other modifications will be required in order for
JavaScript to be able to be called from catalog-related include files. Since
include files are parsed before jQuery is loaded in the footer, jQuery-specific
code will have to be adapted or moved.


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17418
[Bug 17418] Move staff client home page JavaScript to the footer
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17858
[Bug 17858] Omnibus: Move staff client JavaScript to the footer
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17870
[Bug 17870] Call to include file incorrectly moved into the footer
-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list