diff options
author | Abyss777 <abyss@fox5.ru> | 2016-09-06 15:58:03 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-09-06 15:58:03 +0500 |
commit | 97e80ec49fddec3d56880bae47bd070474fa8fa3 (patch) | |
tree | 79139d5328cba462f385a4876b71b3add6a7f7a2 /web/app/view/UserDialog.js | |
parent | 0affb8110de3c53942c85a220babc859e2a7727d (diff) | |
download | trackermap-server-97e80ec49fddec3d56880bae47bd070474fa8fa3.tar.gz trackermap-server-97e80ec49fddec3d56880bae47bd070474fa8fa3.tar.bz2 trackermap-server-97e80ec49fddec3d56880bae47bd070474fa8fa3.zip |
- Remove field container
- Renamed functions and strings
Diffstat (limited to 'web/app/view/UserDialog.js')
-rw-r--r-- | web/app/view/UserDialog.js | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/web/app/view/UserDialog.js b/web/app/view/UserDialog.js index 46b86dd5d..f9e704ee5 100644 --- a/web/app/view/UserDialog.js +++ b/web/app/view/UserDialog.js @@ -70,21 +70,22 @@ Ext.define('Traccar.view.UserDialog', { displayField: 'name', valueField: 'key' }, { - xtype: 'fieldcontainer', - reference: 'mapCenter', - defaultType: 'numberfield', - items: [{ - name: 'latitude', - fieldLabel: Strings.positionLatitude, - decimalPrecision: Traccar.Style.coordinatePrecision - }, { - name: 'longitude', - fieldLabel: Strings.positionLongitude, - decimalPrecision: Traccar.Style.coordinatePrecision - }, { - name: 'zoom', - fieldLabel: Strings.serverZoom - }] + xtype: 'numberfield', + reference: 'latitude', + name: 'latitude', + fieldLabel: Strings.positionLatitude, + decimalPrecision: Traccar.Style.coordinatePrecision + }, { + xtype: 'numberfield', + reference: 'longitude', + name: 'longitude', + fieldLabel: Strings.positionLongitude, + decimalPrecision: Traccar.Style.coordinatePrecision + }, { + xtype: 'numberfield', + reference: 'zoom', + name: 'zoom', + fieldLabel: Strings.serverZoom }, { xtype: 'checkboxfield', name: 'twelveHourFormat', @@ -97,10 +98,10 @@ Ext.define('Traccar.view.UserDialog', { text: Strings.sharedAttributes, handler: 'showAttributesView' }, { - glyph: 'xf276@FontAwesome', + glyph: 'xf041@FontAwesome', minWidth: 0, - handler: 'getFromMap', - tooltip: Strings.sharedGetFromMap, + handler: 'getMapState', + tooltip: Strings.sharedGetMapState, tooltipType: 'title' }, { xtype: 'tbfill' |