Skip to content

Commit

Permalink
Use shared portlet style for both module types
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Jan 10, 2017
1 parent 7f39107 commit 6e2a0db
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 @@ -697,14 +697,14 @@ define([
var $el = $( '<div id="' + id + '" class="' + cls + '"/>' );
var form = null;
content.icon = WorkflowIcons[ node.type ];
content.cls = 'ui-portlet-narrow';
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.cls = 'ui-portlet-narrow';
if ( content.inputs && content.inputs.length > 0 ) {
content.inputs.unshift({
type : 'text',
Expand Down

0 comments on commit 6e2a0db

Please sign in to comment.