From bugzilla-daemon@bugs.koha-community.org Sun May 3 03:11:38 2020
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 25354] New: Clean up JavaScript markup in cataloging
plugin scripts
Date: Sun, 03 May 2020 01:11:27 +0000
Message-ID:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============7250255216899043504=="
--===============7250255216899043504==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D25354
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@myacpl.org
Reporter: oleonard@myacpl.org
QA Contact: testopia@bugs.koha-community.org
I have an idea for how to move JavaScript in additem.tt and addbiblio.tt to t=
he
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