Bugzilla – Attachment 189018 Details for
Bug 41040
Empty patron search from the header should not trigger a patron search
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41040: Use tooltip for message instead of alert
bb8268d.patch (text/plain), 1.43 KB, created by
Kyle M Hall (khall)
on 2025-11-04 15:08:50 UTC
(
hide
)
Description:
Bug 41040: Use tooltip for message instead of alert
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2025-11-04 15:08:50 UTC
Size:
1.43 KB
patch
obsolete
>From bb8268d70de4a682614708f43783c17f09069654 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 4 Nov 2025 10:07:55 -0500 >Subject: [PATCH] Bug 41040: Use tooltip for message instead of alert > >--- > .../intranet-tmpl/prog/en/includes/member-search-box.inc | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/member-search-box.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/member-search-box.inc >index 5f13fd2f3c7..cae80ec0954 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/member-search-box.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/member-search-box.inc >@@ -14,7 +14,12 @@ > const categorySelected = form.categorycode_filter && form.categorycode_filter.value !== ""; > > if (!searchTerm && !branchSelected && !categorySelected) { >- alert("Please enter a search term or select a library/category"); >+ $(form.searchmember) >+ .tooltip({ trigger: "manual", placement: "bottom", title: _("Search criterea required") }) >+ .tooltip("show"); >+ $(document).on("click", function () { >+ $(form.searchmember).tooltip("hide"); >+ }); > return false; > } > return true; >-- >2.50.1 (Apple Git-155)
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 41040
:
188062
|
189016
|
189017
|
189018
|
189197
|
189198
|
189199
|
189508
|
189509
|
189510
|
189511
|
189517
|
189518
|
189519
|
189520