You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ab...@apache.org on 2015/03/23 17:08:19 UTC
ambari git commit: AMBARI-10174 Add possibility to save configs from
the model (additional). (ababiichuk)
Repository: ambari
Updated Branches:
refs/heads/trunk 10e61fff7 -> 34ac699aa
AMBARI-10174 Add possibility to save configs from the model (additional). (ababiichuk)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/34ac699a
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/34ac699a
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/34ac699a
Branch: refs/heads/trunk
Commit: 34ac699aa012cc3d4564248fb9e7b120391c099a
Parents: 10e61ff
Author: aBabiichuk <ab...@cybervisiontech.com>
Authored: Mon Mar 23 18:06:44 2015 +0200
Committer: aBabiichuk <ab...@cybervisiontech.com>
Committed: Mon Mar 23 18:06:44 2015 +0200
----------------------------------------------------------------------
ambari-web/app/controllers/main/service/info/configs.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/34ac699a/ambari-web/app/controllers/main/service/info/configs.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/service/info/configs.js b/ambari-web/app/controllers/main/service/info/configs.js
index fb88313..1552505 100644
--- a/ambari-web/app/controllers/main/service/info/configs.js
+++ b/ambari-web/app/controllers/main/service/info/configs.js
@@ -1263,7 +1263,7 @@ App.MainServiceInfoConfigsController = Em.Controller.extend(App.ServerValidatorM
}
/**
- * generates list of properties that was chabged
+ * generates list of properties that was changed
* @type {Array}
*/
var modifiedProperties = configs
@@ -1281,7 +1281,7 @@ App.MainServiceInfoConfigsController = Em.Controller.extend(App.ServerValidatorM
var modifiedConfigs = modifiedProperties
// get file names and add file names that was modified, for example after property removing
- .mapProperty('filename').concat(this.get('modifiedFileNames')).uniq()
+ .mapProperty('filename').concat(self.get('modifiedFileNames')).uniq()
// get configs by filename
.map(function(fileName) {
return configs.filterProperty('filename', fileName);