diff options
author | Emmanuel ROHEE <erohee@amdocs.com> | 2014-08-19 09:06:21 +0200 |
---|---|---|
committer | Emmanuel ROHEE <erohee@amdocs.com> | 2014-08-19 09:06:21 +0200 |
commit | f144f8cc5632153dd4c97412205c1ab74cf40b3e (patch) | |
tree | 8e5f489807998f1bb3c51f8f489d85e5e1af64b7 /webclient | |
parent | Added link to user profile pages (diff) | |
download | synapse-f144f8cc5632153dd4c97412205c1ab74cf40b3e.tar.xz |
Use $location.url to open the user profile page. The user page URL is then the one expected: http://127.0.0.1:8000/#/user/@Manu:localhost:8080 insteaf of
http://127.0.0.1:8000/#/user/@Manu:localhost:8080#public:localhost:8080
Diffstat (limited to 'webclient')
-rw-r--r-- | webclient/room/room-controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webclient/room/room-controller.js b/webclient/room/room-controller.js index bb9167d9df..8878c3d209 100644 --- a/webclient/room/room-controller.js +++ b/webclient/room/room-controller.js @@ -435,7 +435,7 @@ angular.module('RoomController', ['ngSanitize']) // Open the user profile page $scope.goToUserPage = function(user_id) { - $location.path("user/" + user_id); + $location.url("/user/" + user_id); }; $scope.leaveRoom = function() { |