aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/dialog/CommandController.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/dialog/CommandController.js')
-rw-r--r--web/app/view/dialog/CommandController.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/web/app/view/dialog/CommandController.js b/web/app/view/dialog/CommandController.js
index 6790a9c1..485d994d 100644
--- a/web/app/view/dialog/CommandController.js
+++ b/web/app/view/dialog/CommandController.js
@@ -42,9 +42,8 @@ Ext.define('Traccar.view.dialog.CommandController', {
form = button.up('window').down('form');
form.updateRecord();
record = form.getRecord();
-
- switch(record.get('type')){
+ switch (record.get('type')) {
case 'positionPeriodic':
attributes = this.lookupReference('paramPositionPeriodic');
value = attributes.down('numberfield[name="frequency"]').getValue();