aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/login/LoginController.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-07-31 14:14:32 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-07-31 14:14:32 +1200
commitc65c1876c0186ee5d4f88b81300e28f89a3d5597 (patch)
tree6272ba9cc617ed7ae3e68bf191572945e365d697 /web/app/view/login/LoginController.js
parenta69f0383a75411e599b728e9a4d50a3a363e52d8 (diff)
downloadtrackermap-server-c65c1876c0186ee5d4f88b81300e28f89a3d5597.tar.gz
trackermap-server-c65c1876c0186ee5d4f88b81300e28f89a3d5597.tar.bz2
trackermap-server-c65c1876c0186ee5d4f88b81300e28f89a3d5597.zip
Init language combo box
Diffstat (limited to 'web/app/view/login/LoginController.js')
-rw-r--r--web/app/view/login/LoginController.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/web/app/view/login/LoginController.js b/web/app/view/login/LoginController.js
index 6620e07df..95b5900c9 100644
--- a/web/app/view/login/LoginController.js
+++ b/web/app/view/login/LoginController.js
@@ -26,6 +26,8 @@ Ext.define('Traccar.view.login.LoginController', {
this.lookupReference('registerButton').setDisabled(
!Traccar.getApplication().getServer().get('registration')
);
+ this.lookupReference('languageField').setValue(language);
+
},
onSelectLanguage: function(selected) {