From 63e5690c22dc5911a8ec5cfe1b44c8a5a8576456 Mon Sep 17 00:00:00 2001 From: ninioe Date: Tue, 2 Aug 2016 07:32:04 +0300 Subject: use of extjs references instead of global ids --- web/app/view/Login.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'web/app/view/Login.js') 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', -- cgit v1.2.3