aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/LoginController.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-03 21:39:38 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-03 21:39:38 +1300
commit8416025e932669550c166cfc4263d55c149eed89 (patch)
tree904f1c29af8b76784583da62fe85a270d5c01e9a /web/app/view/LoginController.js
parent04e63f9b42991008843f3f9d1788fa6933bd57b3 (diff)
downloadtrackermap-server-8416025e932669550c166cfc4263d55c149eed89.tar.gz
trackermap-server-8416025e932669550c166cfc4263d55c149eed89.tar.bz2
trackermap-server-8416025e932669550c166cfc4263d55c149eed89.zip
Rename strings global variable
Diffstat (limited to 'web/app/view/LoginController.js')
-rw-r--r--web/app/view/LoginController.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/app/view/LoginController.js b/web/app/view/LoginController.js
index 05118b170..f6a0414dd 100644
--- a/web/app/view/LoginController.js
+++ b/web/app/view/LoginController.js
@@ -33,7 +33,7 @@
login: function () {
var form = this.lookupReference('form');
if (form.isValid()) {
- Ext.getBody().mask(strings.sharedLoading);
+ Ext.getBody().mask(Strings.sharedLoading);
Ext.Ajax.request({
scope: this,
url: '/api/login',
@@ -46,7 +46,7 @@
Traccar.app.setUser(result.data);
this.fireViewEvent('login');
} else {
- Traccar.ErrorManager.error(strings.loginFailed);
+ Traccar.ErrorManager.error(Strings.loginFailed);
}
}