Răsfoiți Sursa

[oozie] Enable copy to the same row

Enrico Berti 11 ani în urmă
părinte
comite
61d7d17
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      apps/oozie/static/js/workflow-editor.ko.js

+ 1 - 1
apps/oozie/static/js/workflow-editor.ko.js

@@ -569,7 +569,7 @@ var WorkflowEditorViewModel = function (layout_json, workflow_json, credentials_
         vm: self
       });
 
-      if (self.currentlyDraggedWidget().id() != ""){
+      if (self.currentlyDraggedWidget().id() != "" && self.currentlyDraggedOp() == "move"){
         self.removeWidgetById(self.currentlyDraggedWidget().id());
         _w = self.currentlyDraggedWidget();
       }