You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by nc...@apache.org on 2016/10/27 15:20:40 UTC

[12/16] ambari git commit: AMBARI-18712. compare functionality between config versions is not working (onechiporenko)

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/branch-feature-AMBARI-18634
Commit: 9c6809ff599c10f4e6d3311df9792580b74bf6c8
Parents: 4b09b63
Author: Oleg Nechiporenko <on...@apache.org>
Authored: Thu Oct 27 12:59:56 2016 +0300
Committer: Oleg Nechiporenko <on...@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');