diff options
author | Emmanuel ROHEE <erohee@amdocs.com> | 2014-08-22 11:43:54 +0200 |
---|---|---|
committer | Emmanuel ROHEE <erohee@amdocs.com> | 2014-08-22 11:44:09 +0200 |
commit | dde50d4245136cdbd11ac3b4af42102945cd14f9 (patch) | |
tree | bdf0f420429116b2ca23aa2072e012ea51270bad /webclient/app-controller.js | |
parent | Make the content repo work with in daemon mode. Return the full url on upload... (diff) | |
download | synapse-dde50d4245136cdbd11ac3b4af42102945cd14f9.tar.xz |
Use $location.url instead of $location.path to get clean page URL without hash arguments of the previous page.
This happpens with room URL like http://127.0.0.1:8080/matrix/client/#/room/#public:localhost. The second hash part is transferred to the next page when using $location.path.
Diffstat (limited to 'webclient/app-controller.js')
-rw-r--r-- | webclient/app-controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/app-controller.js b/webclient/app-controller.js index c53f29aa77..92ad01e4f9 100644 --- a/webclient/app-controller.js +++ b/webclient/app-controller.js @@ -66,7 +66,7 @@ angular.module('MatrixWebClientController', ['matrixService']) matrixService.saveConfig(); // And go to the login page - $location.path("login"); + $location.url("login"); }; // Listen to the event indicating that the access token is no longer valid. |