aboutsummaryrefslogtreecommitdiff
path: root/web/app/view
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view')
-rw-r--r--web/app/view/ServerDialog.js6
-rw-r--r--web/app/view/UserDialog.js6
2 files changed, 8 insertions, 4 deletions
diff --git a/web/app/view/ServerDialog.js b/web/app/view/ServerDialog.js
index 8f81bb9b9..da197ffe4 100644
--- a/web/app/view/ServerDialog.js
+++ b/web/app/view/ServerDialog.js
@@ -63,11 +63,13 @@ Ext.define('Traccar.view.ServerDialog', {
}, {
xtype: 'numberfield',
name: 'latitude',
- fieldLabel: Strings.positionLatitude
+ fieldLabel: Strings.positionLatitude,
+ decimalPrecision: Traccar.Style.coordinatePrecision
}, {
xtype: 'numberfield',
name: 'longitude',
- fieldLabel: Strings.positionLongitude
+ fieldLabel: Strings.positionLongitude,
+ decimalPrecision: Traccar.Style.coordinatePrecision
}, {
xtype: 'numberfield',
name: 'zoom',
diff --git a/web/app/view/UserDialog.js b/web/app/view/UserDialog.js
index 32acd950c..783ddd159 100644
--- a/web/app/view/UserDialog.js
+++ b/web/app/view/UserDialog.js
@@ -73,11 +73,13 @@ Ext.define('Traccar.view.UserDialog', {
}, {
xtype: 'numberfield',
name: 'latitude',
- fieldLabel: Strings.positionLatitude
+ fieldLabel: Strings.positionLatitude,
+ decimalPrecision: Traccar.Style.coordinatePrecision
}, {
xtype: 'numberfield',
name: 'longitude',
- fieldLabel: Strings.positionLongitude
+ fieldLabel: Strings.positionLongitude,
+ decimalPrecision: Traccar.Style.coordinatePrecision
}, {
xtype: 'numberfield',
name: 'zoom',