diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-09-17 16:57:31 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-09-17 16:57:31 +1200 |
commit | 8baf73493d24c85bc5d13069044fc1150ed62c2e (patch) | |
tree | ce421f9431ac3e13e91817bfd989bcd272034649 /web/app/view/user | |
parent | 4154c2cd31f23c5d5fb336dfcd68ba192b297f93 (diff) | |
download | traccar-server-8baf73493d24c85bc5d13069044fc1150ed62c2e.tar.gz traccar-server-8baf73493d24c85bc5d13069044fc1150ed62c2e.tar.bz2 traccar-server-8baf73493d24c85bc5d13069044fc1150ed62c2e.zip |
Move login calls to controller
Diffstat (limited to 'web/app/view/user')
-rw-r--r-- | web/app/view/user/UserController.js | 6 |
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'); |