ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akovale...@apache.org
Subject git commit: AMBARI-7510. Configs: clicking out of HCG compare should clear compare. Additional patch. (Max Shepel via akovalenko)
Date Fri, 26 Sep 2014 15:31:54 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk e7ce4bb6f -> 2e3082af1


AMBARI-7510. Configs: clicking out of HCG compare should clear compare. Additional patch.
 (Max Shepel via akovalenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/2e3082af
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/2e3082af
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/2e3082af

Branch: refs/heads/trunk
Commit: 2e3082af1763b48d72a219e3bd97b27254631c55
Parents: e7ce4bb
Author: Aleksandr Kovalenko <akovalenko@hortonworks.com>
Authored: Fri Sep 26 18:27:30 2014 +0300
Committer: Aleksandr Kovalenko <akovalenko@hortonworks.com>
Committed: Fri Sep 26 18:31:19 2014 +0300

----------------------------------------------------------------------
 ambari-web/app/views/common/configs/config_history_flow.js | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/2e3082af/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 e0e9581..92057ac 100644
--- a/ambari-web/app/views/common/configs/config_history_flow.js
+++ b/ambari-web/app/views/common/configs/config_history_flow.js
@@ -349,6 +349,9 @@ App.ConfigHistoryFlowView = Em.View.extend({
     });
     this.shiftFlowOnSwitch(versionIndex);
     this.get('controller').loadSelectedVersion(displayedVersion);
+  },
+  clearCompareVersionBar: function () {
+    this.set('compareServiceVersion', null);
   }.observes('controller.selectedConfigGroup'),
   /**
    * revert config values to chosen version and apply reverted configs to server


Mime
View raw message