Repository: ambari Updated Branches: refs/heads/trunk a1bd8610a -> 7ad3d2f20
AMBARI-10521. Toggling 'ACID Transactions' config does not update depended_by configs - fixes (srimanth) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/7ad3d2f2 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/7ad3d2f2 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/7ad3d2f2 Branch: refs/heads/trunk Commit: 7ad3d2f206eb36239719a1e8edfafb2c3e78617e Parents: a1bd861 Author: Srimanth Gunturi <[email protected]> Authored: Sat Apr 18 13:14:01 2015 -0700 Committer: Srimanth Gunturi <[email protected]> Committed: Sat Apr 18 13:14:21 2015 -0700 ---------------------------------------------------------------------- ambari-web/app/mixins/common/configs/enhanced_configs.js | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/7ad3d2f2/ambari-web/app/mixins/common/configs/enhanced_configs.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/mixins/common/configs/enhanced_configs.js b/ambari-web/app/mixins/common/configs/enhanced_configs.js index 6349fbf..a040ad3 100644 --- a/ambari-web/app/mixins/common/configs/enhanced_configs.js +++ b/ambari-web/app/mixins/common/configs/enhanced_configs.js @@ -418,6 +418,7 @@ App.EnhancedConfigsMixin = Em.Mixin.create({ if (value != configs[key].properties[propertyName]) { Em.set(dependentProperty, 'value', value); Em.set(dependentProperty, 'recommendedValue', configs[key].properties[propertyName]); + Em.set(dependentProperty, 'saveRecommended', true); Em.set(dependentProperty, 'parentConfigs', dependentProperty.parentConfigs.concat(parentPropertiesNames).uniq()); } } else {
