Browse Source

HUE-5106 [oozie] Delete on decision node children creates broken links

Currently when deleteNode() is called on a decisionNode child - X,
1. Link parent of X to the child of X
2. Delete X
3. Remove link in step-1

This fix removes step-3
krish 9 years ago
parent
commit
72d2555
1 changed files with 0 additions and 2 deletions
  1. 0 2
      apps/oozie/src/oozie/static/oozie/js/workflow-editor.ko.js

+ 0 - 2
apps/oozie/src/oozie/static/oozie/js/workflow-editor.ko.js

@@ -461,8 +461,6 @@ var Workflow = function (vm, workflow) {
             parent.remove_link('to', childId);
             parent.remove_link('to', childId);
           }
           }
         }
         }
-      } else if (parent.type() == 'decision-widget') {
-        parent.remove_link('to', childId);
       }
       }
     }
     }
     else {
     else {