Bugzilla – Attachment 171844 Details for
Bug 37946
Double menu when clicking the caret in Z39.50 search
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37946: (follow-up) Update menu style to hide
Bug-37946-follow-up-Update-menu-style-to-hide.patch (text/plain), 1.19 KB, created by
Phil Ringnalda
on 2024-09-21 00:00:13 UTC
(
hide
)
Description:
Bug 37946: (follow-up) Update menu style to hide
Filename:
MIME Type:
Creator:
Phil Ringnalda
Created:
2024-09-21 00:00:13 UTC
Size:
1.19 KB
patch
obsolete
>From 99b9a8c23dfb727eeea6a821a014033c8586e911 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 20 Sep 2024 12:01:11 +0000 >Subject: [PATCH] Bug 37946: (follow-up) Update menu style to hide > >We shouldn't use hide() to hide the Bootstrap menu. The correct move >here is to empty the "style" attribute. > >Signed-off-by: Phil Ringnalda <phil@chetcolibrary.org> >--- > koha-tmpl/intranet-tmpl/prog/js/z3950_search.js | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/js/z3950_search.js b/koha-tmpl/intranet-tmpl/prog/js/z3950_search.js >index 96c9b1f8b9..09b6e6d9c0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/js/z3950_search.js >+++ b/koha-tmpl/intranet-tmpl/prog/js/z3950_search.js >@@ -77,7 +77,7 @@ $( document ).ready( function() { > if( tgt.hasClass("z3950actions") ) { // direct button click > var link = $( "a[title='" + tgt.text() + "']", row ); > if( link.length == 1) link.click(); >- row.find('ul.dropdown-menu').hide(); >+ row.find('ul.dropdown-menu').attr("style",""); > return; > } else { > if( tgt.prop('nodeName') == 'TD' && !tgt.hasClass("actions") ){ >-- >2.44.0
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 37946
:
171788
|
171806
|
171828
|
171843
| 171844