소스 검색

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

Enrico Berti 8 년 전
부모
커밋
f5ecc83faa
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      apps/oozie/src/oozie/static/oozie/js/workflow-editor.utils.js

+ 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 = {