Use $location.url instead of $location.path to get clean page URL without hash...
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.
Showing
- webclient/app-controller.js 1 addition, 1 deletionwebclient/app-controller.js
- webclient/login/login-controller.js 2 additions, 2 deletionswebclient/login/login-controller.js
- webclient/room/room-controller.js 3 additions, 3 deletionswebclient/room/room-controller.js
- webclient/rooms/rooms-controller.js 4 additions, 4 deletionswebclient/rooms/rooms-controller.js
Loading
Please register or sign in to comment