From fc5110f08d02b16d997689987b9c0a3ec59bae4d Mon Sep 17 00:00:00 2001 From: Jeremy Goecks Date: Mon, 21 Jun 2010 15:07:38 -0400 Subject: [PATCH] Fix bug that prevented correct toggling of recently used menu. --- static/scripts/galaxy.base.js | 3 ++- static/scripts/packed/galaxy.base.js | 2 +- templates/root/index.mako | 5 +---- templates/root/tool_menu.mako | 2 ++ 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/static/scripts/galaxy.base.js b/static/scripts/galaxy.base.js index ec19ab8bd30..510fcb16c39 100644 --- a/static/scripts/galaxy.base.js +++ b/static/scripts/galaxy.base.js @@ -478,7 +478,8 @@ function reset_tool_search( initValue ) if (tool_menu_frame.length == 0) tool_menu_frame = $(document); - // Remove matching class. + // Remove classes that indicate searching is active. + $(this).removeClass("search_active"); tool_menu_frame.find(".toolTitle").removeClass("search_match"); // Reset visibility of tools and labels. diff --git a/static/scripts/packed/galaxy.base.js b/static/scripts/packed/galaxy.base.js index 4bb55d2783d..b57658c13bb 100644 --- a/static/scripts/packed/galaxy.base.js +++ b/static/scripts/packed/galaxy.base.js @@ -1 +1 @@ -$.fn.makeAbsolute=function(a){return this.each(function(){var b=$(this);var c=b.position();b.css({position:"absolute",marginLeft:0,marginTop:0,top:c.top,left:c.left,right:$(window).width()-(c.left+b.width())});if(a){b.remove().appendTo("body")}})};function ensure_popup_helper(){if($("#popup-helper").length===0){$("