Эх сурвалжийг харах

HUE-6077 [frontend] Fixed curved arrows display on Oozie workflow editor

Enrico Berti 8 жил өмнө
parent
commit
f5ecc83faa

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

@@ -20,8 +20,8 @@ function linkWidgets(fromId, toId) {
   if (_from.length > 0 && _to.length > 0) {
     var $painter = $(document.body);
 
-    if ($('.content-panel').length > 0){
-      $painter = $('.content-panel');
+    if ($('#oozie_workflowComponents').length > 0){
+      $painter = $('#oozie_workflowComponents');
     }
 
     var _fromCenter = {