aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/dialog/Login.js
diff options
context:
space:
mode:
authortsmgeek@gmail.com <>2017-08-09 22:42:51 +0100
committertsmgeek@gmail.com <>2017-08-09 22:43:06 +0100
commitb99c6087eb6ec550f99b4039d0a042d8b08cea27 (patch)
tree8e91f1bb55603461108821871ea99353c124c3ae /web/app/view/dialog/Login.js
parent1873fc05dfa0532d1ca665bd3d32ce5cb1d8d040 (diff)
downloadtrackermap-web-b99c6087eb6ec550f99b4039d0a042d8b08cea27.tar.gz
trackermap-web-b99c6087eb6ec550f99b4039d0a042d8b08cea27.tar.bz2
trackermap-web-b99c6087eb6ec550f99b4039d0a042d8b08cea27.zip
add autocapitalize=none to prevent browsers from trying to cap the first letter of login email dialog
Diffstat (limited to 'web/app/view/dialog/Login.js')
-rw-r--r--web/app/view/dialog/Login.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/app/view/dialog/Login.js b/web/app/view/dialog/Login.js
index e015519b..96b40379 100644
--- a/web/app/view/dialog/Login.js
+++ b/web/app/view/dialog/Login.js
@@ -69,11 +69,12 @@ Ext.define('Traccar.view.dialog.Login', {
fieldLabel: Strings.userEmail,
allowBlank: false,
enableKeyEvents: true,
+
listeners: {
specialKey: 'onSpecialKey',
afterrender: 'onAfterRender'
},
- inputAttrTpl: ['autocomplete="on"']
+ inputAttrTpl: ['autocomplete="on" autocapitalize="none"']
}, {
xtype: 'textfield',
name: 'password',