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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 19 00:28:45 CET 2021


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

Mazen Khallaf <mazen.i.khallaf at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #108567|0                           |1
        is obsolete|                            |

--- Comment #8 from Mazen Khallaf <mazen.i.khallaf at gmail.com> ---
Created attachment 115262
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=115262&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

Signed-off-by: Mazen Khallaf <mazen.i.khallaf at gamil.com>

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


More information about the Koha-bugs mailing list