commit/galaxy-central: dannon: Workflow Editor: Fix for last-remaining-workflow-output-unremovable. Clarify declaration (actually a bug, one was undefined, one was false).
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/7de5ccb2b253/ Changeset: 7de5ccb2b253 User: dannon Date: 2013-04-03 23:46:19 Summary: Workflow Editor: Fix for last-remaining-workflow-output-unremovable. Clarify declaration (actually a bug, one was undefined, one was false). Affected #: 1 file diff -r dca01d90de51a758859ee0feec69cde38592bb2c -r 7de5ccb2b253d24dc3d9cc5b681ee3662d57d565 static/scripts/galaxy.workflow_editor.canvas.js --- a/static/scripts/galaxy.workflow_editor.canvas.js +++ b/static/scripts/galaxy.workflow_editor.canvas.js @@ -491,7 +491,8 @@ }, rectify_workflow_outputs : function() { // Find out if we're using workflow_outputs or not. - var using_workflow_outputs, has_existing_pjas = false; + var using_workflow_outputs = false; + var has_existing_pjas = false; $.each( this.nodes, function ( k, node ) { if (node.workflow_outputs && node.workflow_outputs.length > 0){ using_workflow_outputs = true; @@ -517,7 +518,7 @@ pjas_to_rem.push(pja_id); } }); - if (pjas_to_rem.length > 0 && node == workflow.active_node) { + if (pjas_to_rem.length > 0 ) { $.each(pjas_to_rem, function(i, pja_name){ node_changed = true; delete node.post_job_actions[pja_name]; 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)
-
commits-noreply@bitbucket.org