]> git.koha-community.org Git - koha.git/commit
Bug 15910 - Move header search keep text JavaScript into staff-global.js
authorOwen Leonard <oleonard@myacpl.org>
Wed, 24 Feb 2016 17:18:01 +0000 (12:18 -0500)
committerBrendan Gallagher <brendan@bywatersolutions.com>
Wed, 2 Mar 2016 03:50:00 +0000 (03:50 +0000)
commit3d2646938c8592ec37069817f06747e89d3c3ec3
tree39b6ff83f301830183e8ddedf3bdaabe0a270028
parent2e4fcbc01611630e050aeeffeb37f350588ca757
Bug 15910 - Move header search keep text JavaScript into staff-global.js

Bug 14189 added some global JavaScript to a new include file which is
included in doc-head-close.inc. Since it's included globally, there is
no reason not to move it to staff-global.js. This patch does so.

To test, apply the patch and clear your browser cache if necessary.

- Navigate to any page in the staff client which has multiple header
  search tabs.
- Type something in one of the tabs.
- Switch tabs. Verify that your text was copied to the newly-displayed
  form field.

Followed test plan, works as expected.
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc
koha-tmpl/intranet-tmpl/prog/en/includes/searchbox-keep-text.inc [deleted file]
koha-tmpl/intranet-tmpl/prog/en/js/staff-global.js