aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/UserDialog.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/UserDialog.js')
-rw-r--r--web/app/view/UserDialog.js37
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'