[Koha-bugs] [Bug 9294] New: Move JavaScript out of circulation template

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 14 21:27:42 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9294

            Bug ID: 9294
           Summary: Move JavaScript out of circulation template
    Classification: Unclassified
 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
        Depends on: 9283

I would like to start working harder to keep JavaScript separated from the
templates. I hope that in doing so we can have JavaScript which is more easily
cached by the browser, more testable, and potentially able to be minified
and/or concatenated with other JS files.

To that end I have begun moving JavaScript out of the circulation template into
a page-specific file, circulation.js. I hope that further improvements can be
made, perhaps by moving some of the template variables required by the template
into HTML5 data- attributes.

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


More information about the Koha-bugs mailing list