From 0392e67a97cfde953b310d0e16227faf69ea9322 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 1 Apr 2022 13:10:49 +0000 Subject: [PATCH] Bug 30433: Convert advanced search tabs to Bootstrap This patch updates the advanced search page in the staff interface to use Bootstrap tabs instead of jQueryUI. To test, apply the patch and test the advanced search interface. The tabs should look correct and work correctly. --- .../prog/en/modules/catalogue/advsearch.tt | 80 ++++++++++--------- 1 file changed, 42 insertions(+), 38 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt index 3b1b3b844b..65215c6dd3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt @@ -178,10 +178,10 @@
-
@@ -385,7 +387,9 @@ var Sticky; $(document).ready(function() { $("input[name=q]:eq(0)").focus(); - $('#advsearches').tabs(); + if( $(".tab-pane.active").length < 1 ){ + $("#advsearches a:first").tab("show"); + } Sticky = $("#toolbar"); Sticky.hcSticky({ stickTo: ".main", -- 2.20.1