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 2015/12/11 17:55:43 UTC
ambari git commit: AMBARI-14331. Ambari local admin endpoint doesn’t work when sso is enabled.
Repository: ambari
Updated Branches:
refs/heads/trunk c5065addc -> 06855e843
AMBARI-14331. Ambari local admin endpoint doesn’t work when sso is enabled.
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/06855e84
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/06855e84
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/06855e84
Branch: refs/heads/trunk
Commit: 06855e8433a2ac82cca4ce67f88a91f2f46f395b
Parents: c5065ad
Author: Alex Antonenko <hi...@gmail.com>
Authored: Fri Dec 11 18:51:29 2015 +0200
Committer: Alex Antonenko <hi...@gmail.com>
Committed: Fri Dec 11 18:55:39 2015 +0200
----------------------------------------------------------------------
ambari-web/app/utils/ember_reopen.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/06855e84/ambari-web/app/utils/ember_reopen.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/utils/ember_reopen.js b/ambari-web/app/utils/ember_reopen.js
index 9de23db..29d14c8 100644
--- a/ambari-web/app/utils/ember_reopen.js
+++ b/ambari-web/app/utils/ember_reopen.js
@@ -259,6 +259,7 @@ Ember.Router.reopen({
var args = arguments;
var transitionTo = self._super;
var callback = function () {
+ self.get('location').setURL(path);
transitionTo.apply(self, args);
};
var realPath;
@@ -270,4 +271,4 @@ Ember.Router.reopen({
this.get('currentState').exitRoute(this, path, callback);
}
}
-});
\ No newline at end of file
+});