aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/command
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-08-03 11:54:24 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-08-03 11:54:24 +1200
commitd5d7a82207f27fa5e544e1cf050dcc02fc1df12f (patch)
tree8f6bf5aeeae8d56f7295d0c1a8a1f15c7d746148 /web/app/view/command
parent8e41bea48b0b248bcb198186783778002a92738e (diff)
downloadtrackermap-server-d5d7a82207f27fa5e544e1cf050dcc02fc1df12f.tar.gz
trackermap-server-d5d7a82207f27fa5e544e1cf050dcc02fc1df12f.tar.bz2
trackermap-server-d5d7a82207f27fa5e544e1cf050dcc02fc1df12f.zip
Change aliases and xtype names
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(