Browse Source

reset JCE option changes BUG-6463

aBabiichuk 11 years ago
parent
commit
93f29c2e07
1 changed files with 6 additions and 6 deletions
  1. 6 6
      ambari-web/app/controllers/global/cluster_controller.js

+ 6 - 6
ambari-web/app/controllers/global/cluster_controller.js

@@ -370,18 +370,18 @@ App.ClusterController = Em.Controller.extend({
     App.ajax.send({
     App.ajax.send({
       name: 'ambari.service',
       name: 'ambari.service',
       sender: this,
       sender: this,
-      success: 'loadAmbariPropertiesSuccess',
-      error: 'loadAmbariPropertiesError'
-    });
+      success: 'loadAmbariPropertiesSuccsess',
+      error: 'loadAmbariPropertiesdError'
+    })
     return this.get('ambariProperties');
     return this.get('ambariProperties');
   },
   },
 
 
-  loadAmbariPropertiesSuccess: function(data) {
+  loadAmbariPropertiesSuccsess: function(data) {
     console.log('loading ambari properties');
     console.log('loading ambari properties');
-    this.set('ambariProperties', data.RootServiceComponents.properties);
+    this.set('ambariProperties',data.RootServiceComponents.properties);
   },
   },
 
 
-  loadAmbariPropertiesError: function() {
+  loadAmbariPropertiesdError: function() {
     console.warn('can\'t get ambari properties');
     console.warn('can\'t get ambari properties');
   },
   },