diff options
author | Abyss777 <abyss@fox5.ru> | 2016-11-20 09:25:32 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-11-20 09:25:32 +0500 |
commit | b11bed89bf2ae1643965160fbb7fb2d183a3ff1f (patch) | |
tree | 197f33b5fb02ca42bbaa3a7d1acfc1eb563e4ab7 /web/app/view/UserDialog.js | |
parent | d8e0a38c6626b48f27ad9fc92afb6a548bdaa52a (diff) | |
download | trackermap-web-b11bed89bf2ae1643965160fbb7fb2d183a3ff1f.tar.gz trackermap-web-b11bed89bf2ae1643965160fbb7fb2d183a3ff1f.tar.bz2 trackermap-web-b11bed89bf2ae1643965160fbb7fb2d183a3ff1f.zip |
- Increase token length
- Make not editable
- Add clear trigger
Diffstat (limited to 'web/app/view/UserDialog.js')
-rw-r--r-- | web/app/view/UserDialog.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/web/app/view/UserDialog.js b/web/app/view/UserDialog.js index 52ec933c..4a90f295 100644 --- a/web/app/view/UserDialog.js +++ b/web/app/view/UserDialog.js @@ -136,10 +136,15 @@ Ext.define('Traccar.view.UserDialog', { reference: 'tokenField', fieldLabel: Strings.userToken, disabled: true, + editable: false, triggers: { generate: { cls: 'iconCls: x-fa fa-refresh', handler: 'generateToken' + }, + clear: { + cls: 'iconCls: x-fa fa-remove', + handler: 'clearToken' } } }] |