Преглед изворни кода

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;