Bugzilla – Attachment 169532 Details for
Bug 33668
Add a 'clear search' button/icon inside the search input box on the OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33668: (follow-up) Adjust Font Awesome icon classes
Bug-33668-follow-up-Adjust-Font-Awesome-icon-class.patch (text/plain), 1.21 KB, created by
Andreas Roussos
on 2024-07-24 23:46:25 UTC
(
hide
)
Description:
Bug 33668: (follow-up) Adjust Font Awesome icon classes
Filename:
MIME Type:
Creator:
Andreas Roussos
Created:
2024-07-24 23:46:25 UTC
Size:
1.21 KB
patch
obsolete
>From b055d2c96575eb8685ab8408630c64f75eeed16f Mon Sep 17 00:00:00 2001 >From: Andreas Roussos <a.roussos@dataly.gr> >Date: Wed, 24 Jul 2024 20:23:55 +0000 >Subject: [PATCH] Bug 33668: (follow-up) Adjust Font Awesome icon classes > >Removed the fa-sharp class as it's only available with the >Font Awesome Pro icon set. > >Removed fa-regular in favour of fa-solid, as the latter is >used exclusively in the Koha codebase. >--- > koha-tmpl/opac-tmpl/bootstrap/js/global.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/js/global.js b/koha-tmpl/opac-tmpl/bootstrap/js/global.js >index db2cb7b69a..4e501773b1 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/js/global.js >+++ b/koha-tmpl/opac-tmpl/bootstrap/js/global.js >@@ -251,7 +251,7 @@ var facetHandler = function (e) { > > function setPlaceholder(){ > let search_placeholder = $("#masthead_search option:selected").data("placeholder"); >- let clearButton = $('<span class="clear-search"><i class="fa-sharp fa-regular fa-circle-xmark"></i></span>'); >+ let clearButton = $('<span class="clear-search"><i class="fa-solid fa-circle-xmark"></i></span>'); > > $("#translControl1").attr("placeholder", search_placeholder).after(clearButton); > >-- >2.39.2
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 33668
:
150602
|
169443
|
169444
|
169445
|
169446
|
169525
|
169526
|
169527
|
169528
|
169529
|
169530
|
169531
|
169532
|
169533
|
169534
|
169716
|
169717
|
169755
|
169756
|
169757
|
169758
|
169759
|
169760
|
169761
|
176579
|
176580
|
176813
|
176814
|
176815
|
176816
|
176817
|
176818
|
176819