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 2016/01/20 12:19:18 UTC
ambari git commit: AMBARI-14737 Comparison box exists on the page
after configs rerender. (ababiichuk)
Repository: ambari
Updated Branches:
refs/heads/trunk 3f59c1f8d -> 5990fabf5
AMBARI-14737 Comparison box exists on the page after configs rerender. (ababiichuk)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/5990fabf
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/5990fabf
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/5990fabf
Branch: refs/heads/trunk
Commit: 5990fabf51683ff99043892c2e256c9cf6e4a1a6
Parents: 3f59c1f
Author: ababiichuk <ab...@hortonworks.com>
Authored: Wed Jan 20 11:24:25 2016 +0200
Committer: ababiichuk <ab...@hortonworks.com>
Committed: Wed Jan 20 11:24:25 2016 +0200
----------------------------------------------------------------------
ambari-web/app/views/common/configs/config_history_flow.js | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/5990fabf/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 465daca..eea297f 100644
--- a/ambari-web/app/views/common/configs/config_history_flow.js
+++ b/ambari-web/app/views/common/configs/config_history_flow.js
@@ -350,8 +350,10 @@ App.ConfigHistoryFlowView = Em.View.extend({
this.get('controller').loadSelectedVersion(displayedVersion);
},
clearCompareVersionBar: function () {
- this.set('compareServiceVersion', null);
- }.observes('controller.selectedConfigGroup'),
+ if (this.get('controller.isCompareMode') === false) {
+ this.set('compareServiceVersion', null);
+ }
+ }.observes('controller.isCompareMode'),
/**
* revert config values to chosen version and apply reverted configs to server
*/