Преглед на файлове

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

Romain Rigaux преди 8 години
родител
ревизия
0785cfdb20
променени са 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);
             }
           }