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:55:18 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 4b09b63bf -> 9c6809ff5


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/9c6809ff
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/9c6809ff
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/9c6809ff

Branch: refs/heads/trunk
Commit: 9c6809ff599c10f4e6d3311df9792580b74bf6c8
Parents: 4b09b63
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 13:55:13 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/9c6809ff/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 58de1e6..931d994 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