Repository: ambari Updated Branches: refs/heads/trunk 59f15b2ac -> a736f5ce6
AMBARI-11153. Configs: notes don't change if you navigate away (Richard Zang via srimanth) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/a736f5ce Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/a736f5ce Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/a736f5ce Branch: refs/heads/trunk Commit: a736f5ce6fbd97e7723f7c291a0928f93a7724a8 Parents: 59f15b2 Author: Srimanth Gunturi <sgunt...@hortonworks.com> Authored: Fri May 15 13:15:08 2015 -0700 Committer: Srimanth Gunturi <sgunt...@hortonworks.com> Committed: Fri May 15 13:15:14 2015 -0700 ---------------------------------------------------------------------- ambari-web/app/mixins/common/configs/configs_saver.js | 2 +- ambari-web/app/views/common/configs/config_history_flow.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/a736f5ce/ambari-web/app/mixins/common/configs/configs_saver.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/mixins/common/configs/configs_saver.js b/ambari-web/app/mixins/common/configs/configs_saver.js index 816af7a..944133b 100644 --- a/ambari-web/app/mixins/common/configs/configs_saver.js +++ b/ambari-web/app/mixins/common/configs/configs_saver.js @@ -292,7 +292,7 @@ App.ConfigsSaverMixin = Em.Mixin.create({ var fileNamesToSave = modifiedConfigs.mapProperty('filename').concat(this.get('modifiedFileNames')).uniq(); - var configsToSave = this.generateDesiredConfigsJSON(modifiedConfigs, fileNamesToSave, this.get('serviceConfigNote')); + var configsToSave = this.generateDesiredConfigsJSON(modifiedConfigs, fileNamesToSave, this.get('serviceConfigVersionNote')); if (configsToSave.length > 0) { return JSON.stringify({ http://git-wip-us.apache.org/repos/asf/ambari/blob/a736f5ce/ambari-web/app/views/common/configs/config_history_flow.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/views/common/configs/config_history_flow.js b/ambari-web/app/views/common/configs/config_history_flow.js index 0e4c07b..51b48a4 100644 --- a/ambari-web/app/views/common/configs/config_history_flow.js +++ b/ambari-web/app/views/common/configs/config_history_flow.js @@ -443,7 +443,6 @@ App.ConfigHistoryFlowView = Em.View.extend({ self.get('controller').setProperties({ saveConfigsFlag: true, serviceConfigVersionNote: this.get('serviceConfigNote'), - serviceConfigNote: this.get('serviceConfigNote'), preSelectedConfigVersion: Em.Object.create({ version: newVersionToBeCreated, serviceName: self.get('displayedServiceVersion.serviceName'),