Skip to content

Commit

Permalink
Drop unused edit_workflow_outputs functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed May 8, 2018
1 parent d09dfca commit b43ef55
Showing 1 changed file with 0 additions and 42 deletions.
42 changes: 0 additions & 42 deletions client/galaxy/scripts/mvc/workflow/workflow-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -353,48 +353,6 @@ export default Backbone.View.extend({
Cancel: hide_modal
});
}
/*
*
* function edit_workflow_outputs() {
* self.workflow.clear_active_node();
* $(".right-content").hide();
* var new_content = "";
* for (var node_key in self.workflow.nodes) {
* var node = self.workflow.nodes[node_key];
* if (["tool", "subworkflow"].indexOf(node.type) >= 0) {
* new_content += `<div class='toolForm' style='margin-bottom:5px;'><div class='toolFormTitle'>Step ${
* node.id
* } - ${node.name}</div>`;
* for (var ot_key in node.output_terminals) {
* var output = node.output_terminals[ot_key];
* if (node.isWorkflowOutput(output.name)) {
* new_content += `<p>${output.name}<input type='checkbox' name='${node.id}|${
* output.name
* }' checked /></p>`;
* } else {
* new_content += `<p>${output.name}<input type='checkbox' name='${node.id}|${
* output.name
* }' /></p>`;
* }
* }
* new_content += "</div>";
* }
* }
* $("#output-fill-area").html(new_content);
* $("#output-fill-area input").bind("click", function() {
* var node_id = this.name.split("|")[0];
* var workflowNode = this.workflow.nodes[node_id];
* var output_name = this.name.split("|")[1];
* if (this.checked) {
* workflowNode.addWorkflowOutput(output_name);
* } else {
* workflowNode.removeWorkflowOutput(output_name);
* }
* self.workflow.has_changes = true;
* });
* $("#workflow-output-area").show();
* }
*/

function layout_editor() {
self.workflow.layout();
Expand Down

0 comments on commit b43ef55

Please sign in to comment.