瀏覽代碼

AMBARI-6349. After changing property and clicking save button in MapReduce Config Page, no comfirmation popup. (srimanth)

Srimanth Gunturi 11 年之前
父節點
當前提交
f63a5804d9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ambari-web/app/controllers/main/service/info/configs.js

+ 1 - 1
ambari-web/app/controllers/main/service/info/configs.js

@@ -826,7 +826,7 @@ App.MainServiceInfoConfigsController = Em.Controller.extend({
         }
       }
     } else if (serviceName === 'MAPREDUCE') {
-      var mapredConfigs = self.get('stepConfigs').findProperty('serviceName', 'MAPREDUCE').get('configs');
+      var mapredConfigs = this.get('stepConfigs').findProperty('serviceName', 'MAPREDUCE').get('configs');
       if (mapredConfigs.findProperty('name', 'mapred.local.dir').get('isNotDefaultValue') ||
           mapredConfigs.findProperty('name', 'mapred.system.dir').get('isNotDefaultValue')) {
         dirChanged = true;