diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-03 21:57:33 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-03 21:57:33 +1300 |
commit | 4aabd4f6256ffca913f9718399b5d6aa778868b8 (patch) | |
tree | 3d7233ee35c21952cbdfb2324a24566128b0bb2b /web/app/view/LoginController.js | |
parent | a7a2174c927d27eead9139eb9ff65dc87d7eefbc (diff) | |
download | trackermap-server-4aabd4f6256ffca913f9718399b5d6aa778868b8.tar.gz trackermap-server-4aabd4f6256ffca913f9718399b5d6aa778868b8.tar.bz2 trackermap-server-4aabd4f6256ffca913f9718399b5d6aa778868b8.zip |
Fix some more check style issues
Diffstat (limited to 'web/app/view/LoginController.js')
-rw-r--r-- | web/app/view/LoginController.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web/app/view/LoginController.js b/web/app/view/LoginController.js index dfff6b253..141905da8 100644 --- a/web/app/view/LoginController.js +++ b/web/app/view/LoginController.js @@ -39,9 +39,10 @@ url: '/api/login', params: form.getValues(), callback: function (options, success, response) { + var result; Ext.getBody().unmask(); if (Traccar.ErrorManager.check(success, response)) { - var result = Ext.decode(response.responseText); + result = Ext.decode(response.responseText); if (result.success) { Traccar.app.setUser(result.data); this.fireViewEvent('login'); |