commit/galaxy-central: 2 new changesets
2 new commits in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/c8b7dfb1e76d/ changeset: c8b7dfb1e76d branch: bugfixes user: Bjoern Gruening date: 2013-02-09 16:48:20 summary: Display the toolshed tools in the workflow search. affected #: 1 file diff -r 506484344db3a370f8ae24096041d38557d1967e -r c8b7dfb1e76d45532a339592f72c57918fbe6ba6 templates/webapps/galaxy/workflow/editor.mako --- a/templates/webapps/galaxy/workflow/editor.mako +++ b/templates/webapps/galaxy/workflow/editor.mako @@ -93,12 +93,12 @@ $(".toolSectionWrapper").find(".toolTitle").hide(); if ( data.length != 0 ) { // Map tool ids to element ids and join them. - var s = $.map( data, function( n, i ) { return "#link-" + n; } ).join( ", " ); + var s = $.map( data, function( n, i ) { return "link-" + n; } ); // First pass to show matching tools and their parents. - $(s).each( function() { + $(s).each( function(index,id) { // Add class to denote match. - $(this).parent().addClass("search_match"); - $(this).parent().show().parent().parent().show().parent().show(); + $("[id='"+id+"']").parent().addClass("search_match"); + $("[id='"+id+"']").parent().show().parent().parent().show().parent().show(); }); // Hide labels that have no visible children. $(".toolPanelLabel").each( function() { https://bitbucket.org/galaxy/galaxy-central/commits/a6710d64e2d8/ changeset: a6710d64e2d8 user: dannon date: 2013-02-13 19:15:00 summary: Merged in BjoernGruening/galaxy-central-bgruening/bugfixes (pull request #120) Display the toolshed tools in the workflow search. affected #: 1 file diff -r 0ea9f5196fde94701cf2ec8404e9e33e53c51d0e -r a6710d64e2d8081e07050696e377c5f864dd1f9f templates/webapps/galaxy/workflow/editor.mako --- a/templates/webapps/galaxy/workflow/editor.mako +++ b/templates/webapps/galaxy/workflow/editor.mako @@ -93,12 +93,12 @@ $(".toolSectionWrapper").find(".toolTitle").hide(); if ( data.length != 0 ) { // Map tool ids to element ids and join them. - var s = $.map( data, function( n, i ) { return "#link-" + n; } ).join( ", " ); + var s = $.map( data, function( n, i ) { return "link-" + n; } ); // First pass to show matching tools and their parents. - $(s).each( function() { + $(s).each( function(index,id) { // Add class to denote match. - $(this).parent().addClass("search_match"); - $(this).parent().show().parent().parent().show().parent().show(); + $("[id='"+id+"']").parent().addClass("search_match"); + $("[id='"+id+"']").parent().show().parent().parent().show().parent().show(); }); // Hide labels that have no visible children. $(".toolPanelLabel").each( function() { Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket