diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-09-16 22:45:14 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-09-16 22:45:14 +1200 |
commit | 4154c2cd31f23c5d5fb336dfcd68ba192b297f93 (patch) | |
tree | b1178bbc26479f580606e8a70a1004a8cea46522 /web/app/view/login | |
parent | 607522a21625610248db7a586e6285bbb0331391 (diff) | |
download | traccar-server-4154c2cd31f23c5d5fb336dfcd68ba192b297f93.tar.gz traccar-server-4154c2cd31f23c5d5fb336dfcd68ba192b297f93.tar.bz2 traccar-server-4154c2cd31f23c5d5fb336dfcd68ba192b297f93.zip |
More JavaScript code cleanup
Diffstat (limited to 'web/app/view/login')
-rw-r--r-- | web/app/view/login/LoginController.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/login/LoginController.js b/web/app/view/login/LoginController.js index e809b0fbc..48a4aa0f7 100644 --- a/web/app/view/login/LoginController.js +++ b/web/app/view/login/LoginController.js @@ -24,7 +24,7 @@ Ext.define('Traccar.view.login.LoginController', { init: function() { this.lookupReference('registerButton').setDisabled( - !Traccar.getApplication().getServer().get('registration') + !Traccar.app.getServer().get('registration') ); this.lookupReference('languageField').setValue(language); |