aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/ServerDialog.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2016-09-06 15:58:03 +0500
committerAbyss777 <abyss@fox5.ru>2016-09-06 15:58:03 +0500
commit97e80ec49fddec3d56880bae47bd070474fa8fa3 (patch)
tree79139d5328cba462f385a4876b71b3add6a7f7a2 /web/app/view/ServerDialog.js
parent0affb8110de3c53942c85a220babc859e2a7727d (diff)
downloadtrackermap-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/ServerDialog.js')
-rw-r--r--web/app/view/ServerDialog.js37
1 files changed, 19 insertions, 18 deletions
diff --git a/web/app/view/ServerDialog.js b/web/app/view/ServerDialog.js
index 83f9c47f2..40afa4ec3 100644
--- a/web/app/view/ServerDialog.js
+++ b/web/app/view/ServerDialog.js
@@ -66,21 +66,22 @@ Ext.define('Traccar.view.ServerDialog', {
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',
@@ -93,10 +94,10 @@ Ext.define('Traccar.view.ServerDialog', {
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'