ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From onechipore...@apache.org
Subject ambari git commit: AMBARI-18712. compare functionality between config versions is not working (onechiporenko)
Date Thu, 27 Oct 2016 10:47:36 GMT
Repository: ambari
Updated Branches:
  refs/heads/branch-2.5 e68c0f4ed -> 4f074b18a


AMBARI-18712. compare functionality between config versions is not working (onechiporenko)


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

Branch: refs/heads/branch-2.5
Commit: 4f074b18afb626e409ed1940eb61663e641058cb
Parents: e68c0f4
Author: Oleg Nechiporenko <onechiporenko@apache.org>
Authored: Thu Oct 27 12:59:56 2016 +0300
Committer: Oleg Nechiporenko <onechiporenko@apache.org>
Committed: Thu Oct 27 12:59:56 2016 +0300

----------------------------------------------------------------------
 ambari-web/app/views/common/configs/config_history_flow.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/4f074b18/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 66cf5e0..a7b83b3 100644
--- a/ambari-web/app/views/common/configs/config_history_flow.js
+++ b/ambari-web/app/views/common/configs/config_history_flow.js
@@ -326,8 +326,8 @@ App.ConfigHistoryFlowView = Em.View.extend({
    * add a second version-info-bar for the chosen version
    */
   compare: function (event) {
-    this.set('controller.compareServiceVersion', this.get('hoveredServiceVersion'));
     var serviceConfigVersion = this.get('hoveredServiceVersion') || event.context;
+    this.set('controller.compareServiceVersion', serviceConfigVersion);
     this.set('compareServiceVersion', serviceConfigVersion);
 
     var controller = this.get('controller');


Mime
View raw message