AMBARI-12067 Changed configs popup is not shown for YARN and MR2. (ababiichuk)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/55458810 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/55458810 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/55458810 Branch: refs/heads/branch-2.1 Commit: 5545881005c83c2a372f5d631345e6ba8b177812 Parents: 36cc0af Author: aBabiichuk <[email protected]> Authored: Mon Jun 22 17:59:41 2015 +0300 Committer: aBabiichuk <[email protected]> Committed: Mon Jun 22 18:15:05 2015 +0300 ---------------------------------------------------------------------- ambari-web/app/controllers/main/service/info/configs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/55458810/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 1121507..d3788a0 100644 --- a/ambari-web/app/controllers/main/service/info/configs.js +++ b/ambari-web/app/controllers/main/service/info/configs.js @@ -325,7 +325,7 @@ App.MainServiceInfoConfigsController = Em.Controller.extend(App.ConfigsLoader, A return null; } var hash = {}; - this.get('stepConfigs')[0].configs.forEach(function (config) { + this.get('selectedService.configs').forEach(function (config) { hash[config.get('name')] = {value: config.get('value'), overrides: [], isFinal: config.get('isFinal')}; if (!config.get('overrides')) return; if (!config.get('overrides.length')) return;
