aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/command
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/command')
-rw-r--r--web/app/view/command/CommandDialog.js3
-rw-r--r--web/app/view/command/CommandDialogController.js2
2 files changed, 2 insertions, 3 deletions
diff --git a/web/app/view/command/CommandDialog.js b/web/app/view/command/CommandDialog.js
index 8a4be93cb..dbde458e3 100644
--- a/web/app/view/command/CommandDialog.js
+++ b/web/app/view/command/CommandDialog.js
@@ -16,13 +16,12 @@
Ext.define('Traccar.view.command.CommandDialog', {
extend: 'Ext.window.Window',
- xtype: 'command-dialog',
requires: [
'Traccar.view.command.CommandDialogController'
],
- controller: 'commanddialog',
+ controller: 'commandDialog',
bodyPadding: styles.panelPadding,
title: strings.commandTitle,
diff --git a/web/app/view/command/CommandDialogController.js b/web/app/view/command/CommandDialogController.js
index 84004e2aa..84ab8ede5 100644
--- a/web/app/view/command/CommandDialogController.js
+++ b/web/app/view/command/CommandDialogController.js
@@ -16,7 +16,7 @@
Ext.define('Traccar.view.command.CommandDialogController', {
extend: 'Ext.app.ViewController',
- alias: 'controller.commanddialog',
+ alias: 'controller.commandDialog',
onSelect: function(selected) {
this.lookupReference('paramPositionPeriodic').setHidden(