[Koha-bugs] [Bug 9424] Move JavaScript out of header include
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jan 18 16:37:16 CET 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9424
--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 14706
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=14706&action=edit
Bug 9424 - Move JavaScript out of header include
This patch removes JavaScript "onlick" attributes from header.inc and
moves the functionality to staff-global.js. This is in keeping with the
idea of progressive enhancement.
This patch also makes a couple of minor changes to staff-global.js to
fix jsHint warnings.
To test, be sure to clear your browser cache after applying the patch.
Test the logout link under several conditions:
- intranetbookbag enabled, virtualshelves enabled
- intranetbookbag enabled, virtualshelves disabled
- intranetbookbag disabled, virtualshelves enabled
- intranetbookbag disabled, virtualshelves disabled
Logout should be successful with no JavaScript errors. This array of
tests is required because of the Cart-clearing action of logging out and
the changes made in this patch to the way Car/Lists JavaScript is
included.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list