소스 검색

HUE-7266 [oozie] Do not change the URL when saving a coordinator of an integrated scheduler

Romain Rigaux 8 년 전
부모
커밋
0785cfd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      apps/oozie/src/oozie/static/oozie/js/coordinator-editor.ko.js

+ 1 - 1
apps/oozie/src/oozie/static/oozie/js/coordinator-editor.ko.js

@@ -248,7 +248,7 @@ var CoordinatorEditorViewModel = (function () {
             }
             if (window.location.search.indexOf("coordinator") == -1 && !IS_HUE_4) {
               window.location.hash = '#coordinator=' + data.id;
-            } else if (IS_HUE_4) {
+            } else if (IS_HUE_4 && ! cb) { // cb from integrated scheduler
               hueUtils.changeURL('/hue/oozie/editor/coordinator/edit/?coordinator=' + data.id);
             }
           }