Bugzilla – Attachment 62340 Details for
Bug 16726
Text in Preferences search box does not clear
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16726: Clear text in syspref searchbox after submitting
Bug-16726-Clear-text-in-syspref-searchbox-after-su.patch (text/plain), 1.23 KB, created by
Aleisha Amohia
on 2017-04-18 23:07:30 UTC
(
hide
)
Description:
Bug 16726: Clear text in syspref searchbox after submitting
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2017-04-18 23:07:30 UTC
Size:
1.23 KB
patch
obsolete
>From 8a72b546f7ca4c86ddc82dae284fa42b5f4e8fbe Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Tue, 18 Apr 2017 23:05:16 +0000 >Subject: [PATCH] Bug 16726: Clear text in syspref searchbox after submitting > >To test: >1) Go to Admin -> search for a system preference >2) Notice your search stays in the search box (this is inconsistent with >search behaviour across Koha) >3) Apply patch and refresh page >4) Make another search >5) Confirm search still works as expected and search terms have been >cleared from search box > >Sponsored-by: Catalyst IT >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt >index 22fb001..c9b536c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt >@@ -18,6 +18,7 @@ > });[% END %] > > $(document).ready(function(){ >+ $(".head-searchbox").val(''); > $("select[multiple='multiple']").multipleSelect( { > placeholder: _("Please select ..."), > selectAllText: _("Select all"), >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 16726
:
62340
|
62352
|
64072
|
64668
|
64669
|
64876
|
66699
|
66700
|
67551