diff options
author | Emmanuel ROHEE <erohee@amdocs.com> | 2014-08-22 18:18:27 +0200 |
---|---|---|
committer | Emmanuel ROHEE <erohee@amdocs.com> | 2014-08-22 18:18:27 +0200 |
commit | 41d1db2d4ab26bc87840de879e45210c9d3284a3 (patch) | |
tree | 9c9614b665e2a878862cffc5d854fd5c6c4630e6 /webclient/app-controller.js | |
parent | Merge branch 'develop' of github.com:matrix-org/synapse into release-v0.0.1 (diff) | |
parent | Use /home everywhere (diff) | |
download | synapse-41d1db2d4ab26bc87840de879e45210c9d3284a3.tar.xz |
Merge branch 'settings-page' into develop
Diffstat (limited to 'webclient/app-controller.js')
-rw-r--r-- | webclient/app-controller.js | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/webclient/app-controller.js b/webclient/app-controller.js index 92ad01e4f9..84cb94dc74 100644 --- a/webclient/app-controller.js +++ b/webclient/app-controller.js @@ -31,31 +31,15 @@ angular.module('MatrixWebClientController', ['matrixService']) $rootScope.$on('$routeChangeSuccess', function (event, current, previous) { $scope.location = $location.path(); }); - - - // Manage the display of the current config - $scope.config; - - // Toggles the config display - $scope.showConfig = function() { - if ($scope.config) { - $scope.config = undefined; - } - else { - $scope.config = matrixService.config(); - } - }; - - $scope.closeConfig = function() { - if ($scope.config) { - $scope.config = undefined; - } - }; if (matrixService.isUserLoggedIn()) { // eventStreamService.resume(); } + $scope.go = function(url) { + $location.url(url); + }; + // Logs the user out $scope.logout = function() { // kill the event stream |