From cff7c8ccdfb632a406dc3715c34c9f53bfcf7cbe Mon Sep 17 00:00:00 2001 From: Owen Leonard 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. --- 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.39.5