You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by xi...@apache.org on 2014/11/21 23:37:49 UTC

ambari git commit: AMBARI-8361. Configs: UI breaks during particular flow.(xiwang)

Repository: ambari
Updated Branches:
  refs/heads/trunk dd87511ef -> 870a5a579


AMBARI-8361. Configs: UI breaks during particular flow.(xiwang)


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

Branch: refs/heads/trunk
Commit: 870a5a5795f7ae757b47679281dcfcf64e6cfbaf
Parents: dd87511
Author: Xi Wang <xi...@apache.org>
Authored: Mon Nov 17 17:39:24 2014 -0800
Committer: Xi Wang <xi...@apache.org>
Committed: Fri Nov 21 14:37:20 2014 -0800

----------------------------------------------------------------------
 ambari-web/app/controllers/main/service/info/configs.js | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/870a5a57/ambari-web/app/controllers/main/service/info/configs.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/main/service/info/configs.js b/ambari-web/app/controllers/main/service/info/configs.js
index 9333084..31ea2ec 100644
--- a/ambari-web/app/controllers/main/service/info/configs.js
+++ b/ambari-web/app/controllers/main/service/info/configs.js
@@ -2809,6 +2809,7 @@ App.MainServiceInfoConfigsController = Em.Controller.extend(App.ServerValidatorM
         this.hide();
       },
       onDiscard: function () {
+        self.set('preSelectedConfigVersion', null);
         if (path) {
           self.set('forceTransition', true);
           App.router.route(path);