aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/app/view/CustomNumberField.js2
-rw-r--r--web/app/view/dialog/CommandController.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/web/app/view/CustomNumberField.js b/web/app/view/CustomNumberField.js
index bc07691..e8fe5f7 100644
--- a/web/app/view/CustomNumberField.js
+++ b/web/app/view/CustomNumberField.js
@@ -19,7 +19,7 @@ Ext.define('Traccar.view.CustomNumberField', {
extend: 'Ext.form.field.Number',
xtype: 'customNumberField',
- beforeEl: '<div style="display:inline-table;width:100%">',
+ beforeEl: '<div style="width:100%;display:inline-table;">',
unitEl: '<div id="numberUnitEl" style="display:table-cell;padding-left:10px;vertical-align:middle;width:1px;white-space:nowrap;">',
constructor: function (config) {
diff --git a/web/app/view/dialog/CommandController.js b/web/app/view/dialog/CommandController.js
index fc233f3..0687f67 100644
--- a/web/app/view/dialog/CommandController.js
+++ b/web/app/view/dialog/CommandController.js
@@ -52,7 +52,7 @@ Ext.define('Traccar.view.dialog.CommandController', {
config.uncheckedValue = false;
break;
default:
- if (parameter.get('dataType') && parameter.get('dataType') === 'timezone') {
+ if (parameter.get('dataType') === 'timezone') {
config.xtype = 'combobox';
config.queryMode = 'local';
config.displayField = 'key';