From 4154c2cd31f23c5d5fb336dfcd68ba192b297f93 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 16 Sep 2015 22:45:14 +1200 Subject: More JavaScript code cleanup --- web/app/view/login/LoginController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/app/view/login') 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); -- cgit v1.2.3