aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/user/UserController.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-09-17 16:57:31 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-09-17 16:57:31 +1200
commit8baf73493d24c85bc5d13069044fc1150ed62c2e (patch)
treece421f9431ac3e13e91817bfd989bcd272034649 /web/app/view/user/UserController.js
parent4154c2cd31f23c5d5fb336dfcd68ba192b297f93 (diff)
downloadtrackermap-server-8baf73493d24c85bc5d13069044fc1150ed62c2e.tar.gz
trackermap-server-8baf73493d24c85bc5d13069044fc1150ed62c2e.tar.bz2
trackermap-server-8baf73493d24c85bc5d13069044fc1150ed62c2e.zip
Move login calls to controller
Diffstat (limited to 'web/app/view/user/UserController.js')
-rw-r--r--web/app/view/user/UserController.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/web/app/view/user/UserController.js b/web/app/view/user/UserController.js
index 041c70166..156d33a86 100644
--- a/web/app/view/user/UserController.js
+++ b/web/app/view/user/UserController.js
@@ -25,11 +25,7 @@ Ext.define('Traccar.view.user.UserController', {
init: function() {
Ext.getStore('Users').load();
},
-
- onLogoutClick: function() {
- Traccar.LoginManager.logout();
- },
-
+
onAddClick: function() {
var user = Ext.create('Traccar.model.User');
var dialog = Ext.create('Traccar.view.user.UserDialog');