[Koha-bugs] [Bug 26248] Simplify keep_text Javascript function

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Aug 19 07:16:43 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26248

--- Comment #1 from David Cook <dcook at prosentient.com.au> ---
Created attachment 108567
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=108567&action=edit
Bug 26248: Simplify keep_text function used in header search

The current code is functional but not very readable. This patch
simplifies the code to be more readable and to be more efficient.

To test:
1) Apply patch
2) Refresh browser cache
3) Type "A" in "Check out" tab
4) Click "Check in" (and other tabs)
5) Observe that text is persisted from original tab
6) Type "B" in "Search the catalog" tab
7) Click "Renew" tab
8) Observe that text is persisted from latest changed tab

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list