From 179ade72829d0c388d1055b11ddd1c13ac0d1149 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 19 Feb 2013 16:58:50 +0100 Subject: [PATCH] Bug 9653: FIX collapse class is used by already Bootstrap Quick, simple and dirty fix. Test plan: Apply this patch and check that filters are present on the suggestion management page. Signed-off-by: Owen Leonard Signed-off-by: Katrin Fischer Filters are back on the page, regression fixed. Signed-off-by: Jared Camins-Esakov --- .../prog/en/modules/suggestion/suggestion.tt | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt index 297207b840..5165f8399e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt @@ -79,8 +79,9 @@ $(document).ready(function() { $("#reason"+sid).show().find("option[value='']").attr("selected","selected"); $("#other_reason"+sid).hide(); }); - $("h4.collapse a").click(function(){ - $(this).parent().parent().find("ol").toggle(); + $("h4.local_collapse a").click(function(){ + $(this).parent().parent().find("ol").toggle(); + return false; }); // http://jqueryui.com/demos/datepicker/#date-range var dates = $( "#suggesteddate_from, #suggesteddate_to" ).datepicker({ @@ -126,7 +127,7 @@ $(document).ready(function() { // ]]> [% ELSE %]