]> git.koha-community.org Git - koha.git/commit
Bug 9424: Move JavaScript out of header include
authorOwen Leonard <oleonard@myacpl.org>
Fri, 10 May 2013 12:32:11 +0000 (08:32 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 28 May 2013 14:46:19 +0000 (07:46 -0700)
commit25e6c2885d1547fd4ed28c29fd8462e33dc8b4f1
treef4a696756b8775eaa78d265249c7e59421916d89
parent4c1c323232cd303c9c1e0f02c83871e1e6fcd62d
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.

To test, be sure to clear your browser cache after applying the patch.

- Test the help link.
- Test the logout link with the intranetbookbag preference on and off.
- Open a patron's account and click "search to hold." Log out, and log
  in again. Koha should not remember the patron you chose before
  logging out (as seen from a search results page).

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/includes/header.inc
koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js