Repository: ambari Updated Branches: refs/heads/branch-2.1 aa84147da -> 9624b4a0f
AMBARI-13206. After Canceling on the "Make Current"-popup all config versions stay disabled (onechiporenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/9624b4a0 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/9624b4a0 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/9624b4a0 Branch: refs/heads/branch-2.1 Commit: 9624b4a0fc4ec4133813d6a39d8b45061bab12d9 Parents: aa84147 Author: Oleg Nechiporenko <onechipore...@apache.org> Authored: Tue Sep 22 18:01:09 2015 +0300 Committer: Oleg Nechiporenko <onechipore...@apache.org> Committed: Wed Sep 23 16:48:46 2015 +0300 ---------------------------------------------------------------------- ambari-web/app/views/common/configs/config_history_flow.js | 8 ++++++++ 1 file changed, 8 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/9624b4a0/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 ae0c985..26b6cd9 100644 --- a/ambari-web/app/views/common/configs/config_history_flow.js +++ b/ambari-web/app/views/common/configs/config_history_flow.js @@ -402,6 +402,14 @@ App.ConfigHistoryFlowView = Em.View.extend({ serviceConfigVersion.set('serviceConfigNote', this.get('serviceConfigNote')); self.sendRevertCall(serviceConfigVersion); this.hide(); + }, + onSecondary: function () { + // force <code>serviceVersions</code> recalculating + self.propertyDidChange('controller.selectedConfigGroup.name'); + this._super(); + }, + onThird: function () { + this.onSecondary(); } }); },