You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by al...@apache.org on 2016/03/30 21:00:27 UTC
ambari git commit: AMBARI-15634. UI gets stuck on login
(alexantonenko)
Repository: ambari
Updated Branches:
refs/heads/branch-2.2 6ad37177a -> 8cae8092d
AMBARI-15634. UI gets stuck on login (alexantonenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/8cae8092
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/8cae8092
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/8cae8092
Branch: refs/heads/branch-2.2
Commit: 8cae8092d8a5bbaa0a4eb02b3b5108454e14c8c7
Parents: 6ad3717
Author: Alex Antonenko <hi...@gmail.com>
Authored: Wed Mar 30 21:47:28 2016 +0300
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Wed Mar 30 21:55:31 2016 +0300
----------------------------------------------------------------------
ambari-web/app/router.js | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/8cae8092/ambari-web/app/router.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/router.js b/ambari-web/app/router.js
index 01a4b92..a01a0be 100644
--- a/ambari-web/app/router.js
+++ b/ambari-web/app/router.js
@@ -155,6 +155,8 @@ App.Router = Em.Router.extend({
},
success: 'loginSuccessCallback',
error: 'loginErrorCallback'
+ }).then(function() {
+ dfd.resolve(true);
});
} else {
self.setAuthenticated(false);