浏览代码

AMBARI-6351 Remove synchronous calls with commands to server, second patch. (Max Shepel via atkach)

atkach 11 年之前
父节点
当前提交
9ed0b549b7
共有 2 个文件被更改,包括 1 次插入2 次删除
  1. 1 1
      ambari-web/app/controllers/wizard/step9_controller.js
  2. 0 1
      ambari-web/app/utils/ajax/ajax.js

+ 1 - 1
ambari-web/app/controllers/wizard/step9_controller.js

@@ -813,7 +813,7 @@ App.WizardStep9Controller = Em.Controller.extend({
       this.saveInstalledHosts(this);
       this.saveInstalledHosts(this);
       return true;
       return true;
     }
     }
-    return false;
+    this.changeParseHostInfo(false);
   },
   },
 
 
   /**
   /**

+ 0 - 1
ambari-web/app/utils/ajax/ajax.js

@@ -1248,7 +1248,6 @@ var urls = {
     'format': function (data) {
     'format': function (data) {
       return {
       return {
         type: 'PUT',
         type: 'PUT',
-        async: false,
         data: data.data
         data: data.data
       };
       };
     }
     }