aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/Login.js
diff options
context:
space:
mode:
authorninioe <ninioe@gmail.com>2016-08-02 07:32:04 +0300
committerninioe <ninioe@gmail.com>2016-08-02 07:32:04 +0300
commit63e5690c22dc5911a8ec5cfe1b44c8a5a8576456 (patch)
tree993d1a10c5db3f92a62f6cb59d636928fed8b634 /web/app/view/Login.js
parent5b526f60f29b222a3269547ac938ab512d1ba4d6 (diff)
downloadtrackermap-server-63e5690c22dc5911a8ec5cfe1b44c8a5a8576456.tar.gz
trackermap-server-63e5690c22dc5911a8ec5cfe1b44c8a5a8576456.tar.bz2
trackermap-server-63e5690c22dc5911a8ec5cfe1b44c8a5a8576456.zip
use of extjs references instead of global ids
Diffstat (limited to 'web/app/view/Login.js')
-rw-r--r--web/app/view/Login.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/app/view/Login.js b/web/app/view/Login.js
index 085f853be..4876e928c 100644
--- a/web/app/view/Login.js
+++ b/web/app/view/Login.js
@@ -54,7 +54,7 @@ Ext.define('Traccar.view.Login', {
}, {
xtype: 'textfield',
name: 'email',
- id: 'txtUser',
+ reference: 'txtUser',
fieldLabel: Strings.userEmail,
allowBlank: false,
enableKeyEvents: true,
@@ -66,7 +66,7 @@ Ext.define('Traccar.view.Login', {
}, {
xtype: 'textfield',
name: 'password',
- id: 'txtPassword',
+ reference: 'txtPassword',
fieldLabel: Strings.userPassword,
inputType: 'password',
allowBlank: false,
@@ -77,7 +77,7 @@ Ext.define('Traccar.view.Login', {
inputAttrTpl: ['autocomplete="on"']
}, {
xtype: 'checkboxfield',
- id: 'chkRememberMe',
+ reference: 'chkRememberMe',
fieldLabel: Strings.rememberMe
}, {
xtype: 'component',