[Koha-bugs] [Bug 25354] New: Clean up JavaScript markup in cataloging plugin scripts
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sun May 3 03:11:27 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25354
Bug ID: 25354
Summary: Clean up JavaScript markup in cataloging plugin
scripts
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
I have an idea for how to move JavaScript in additem.tt and addbiblio.tt to the
footer, but the JavaScript generated by the plugin scripts needs some cleanup
before that can happen.
Specifically, single line JS comments (// ... ) will break the script if
whitespace in the script is collapsed. These will be changed to multi-line
comments (/* ... */).
While I'm making changes I'll be removing the <script> tag's "type" attribute
and obsolete "//<![CDATA[" markers.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list