From 68e4d1b9a0a3a9369526c7d3c105be31cca52d82 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. --- .../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 297207b..5165f83 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 %]