From e8ae9e040ad57b7d0af62039ae042b088659e586 Mon Sep 17 00:00:00 2001 From: James Taylor Date: Thu, 28 Aug 2008 13:57:23 -0400 Subject: [PATCH] Another IE fix for stacking / deleting workflow editor nodes. --- static/scripts/galaxy.workflow_editor.canvas.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/static/scripts/galaxy.workflow_editor.canvas.js b/static/scripts/galaxy.workflow_editor.canvas.js index 4c51a91cfb5..e967d24c962 100644 --- a/static/scripts/galaxy.workflow_editor.canvas.js +++ b/static/scripts/galaxy.workflow_editor.canvas.js @@ -446,16 +446,18 @@ $.extend( Workflow.prototype, { parent.show_form_for_tool( "
No node selected
" ); }, activate_node : function( node ) { - this.clear_active_node(); - parent.show_form_for_tool( node.form_html, node ); - node.make_active(); - this.active_node = node; + if ( this.active_node != node ) { + this.clear_active_node(); + parent.show_form_for_tool( node.form_html, node ); + node.make_active(); + this.active_node = node; + } }, node_changed : function ( node ) { this.has_changes = true; if ( this.active_node == node ) { // Reactive with new form_html - this.activate_node( node ); + parent.show_form_for_tool( node.form_html, node ); } } });