diff options
author | Abyss777 <abyss@fox5.ru> | 2017-01-13 09:26:24 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-01-16 16:58:52 +0500 |
commit | 34c878d014a065981d56859cb73564bfa2bc478e (patch) | |
tree | a303aa2f2671faf2c0a4c0870e0aafea5e430ba4 /web/app/view/UserDialog.js | |
parent | ede04a679525bb95fcc5ca0a327e8e915f58564e (diff) | |
download | trackermap-web-34c878d014a065981d56859cb73564bfa2bc478e.tar.gz trackermap-web-34c878d014a065981d56859cb73564bfa2bc478e.tar.bz2 trackermap-web-34c878d014a065981d56859cb73564bfa2bc478e.zip |
Initial manager implementation
Diffstat (limited to 'web/app/view/UserDialog.js')
-rw-r--r-- | web/app/view/UserDialog.js | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/web/app/view/UserDialog.js b/web/app/view/UserDialog.js index 02e7b2fc..8ab3f6b2 100644 --- a/web/app/view/UserDialog.js +++ b/web/app/view/UserDialog.js @@ -1,5 +1,5 @@ /* - * Copyright 2015 Anton Tananaev (anton@traccar.org) + * Copyright 2015 - 2017 Anton Tananaev (anton@traccar.org) * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -139,6 +139,12 @@ Ext.define('Traccar.view.UserDialog', { disabled: true, reference: 'deviceLimitField' }, { + xtype: 'numberfield', + name: 'userLimit', + fieldLabel: Strings.userUserLimit, + disabled: true, + reference: 'userLimitField' + }, { xtype: 'textfield', name: 'token', reference: 'tokenField', @@ -153,6 +159,10 @@ Ext.define('Traccar.view.UserDialog', { }] }, + listeners: { + show: 'onShow' + }, + buttons: [{ text: Strings.sharedAttributes, handler: 'showAttributesView' |