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){$("
").css({background:"white",opacity:0,zIndex:15000,position:"absolute",top:0,left:0,width:"100%",height:"100%"}).appendTo("body").hide()}}function attach_popupmenu(b,d){var a=function(){d.unbind().hide();$("#popup-helper").unbind("click.popupmenu").hide()};var c=function(g){$("#popup-helper").bind("click.popupmenu",a).show();d.click(a).css({left:0,top:-1000}).show();var f=g.pageX-d.width()/2;f=Math.min(f,$(document).scrollLeft()+$(window).width()-$(d).width()-20);f=Math.max(f,$(document).scrollLeft()+20);d.css({top:g.pageY-5,left:f});return false};$(b).click(c)}function make_popupmenu(c,b){ensure_popup_helper();var a=$("