Skip to content

Commit

Permalink
Display module type icons for tool modules too
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Jan 10, 2017
1 parent 76710c4 commit 7f39107
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/galaxy/scripts/mvc/workflow/workflow-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -696,14 +696,14 @@ define([
if ( content && $container.find( '#' + id ).length == 0 ) {
var $el = $( '<div id="' + id + '" class="' + cls + '"/>' );
var form = null;
content.icon = WorkflowIcons[ node.type ];
if ( node.type == 'tool' ) {
var options = content;
options.node = node;
options.workflow = this.workflow;
options.datatypes = this.datatypes;
form = new ToolForm.View( options );
} else {
content.icon = WorkflowIcons[ node.type ];
content.cls = 'ui-portlet-narrow';
if ( content.inputs && content.inputs.length > 0 ) {
content.inputs.unshift({
Expand Down

0 comments on commit 7f39107

Please sign in to comment.