aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/DevicesController.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/DevicesController.js')
-rw-r--r--web/app/view/DevicesController.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/web/app/view/DevicesController.js b/web/app/view/DevicesController.js
index 5442f545..9d426911 100644
--- a/web/app/view/DevicesController.js
+++ b/web/app/view/DevicesController.js
@@ -20,8 +20,8 @@ Ext.define('Traccar.view.DevicesController', {
alias: 'controller.devices',
requires: [
- 'Traccar.view.dialog.CommandDialog',
- 'Traccar.view.dialog.DeviceDialog',
+ 'Traccar.view.dialog.Command',
+ 'Traccar.view.dialog.Device',
'Traccar.view.DeviceGeofences',
'Traccar.view.BaseWindow',
'Traccar.model.Device',
@@ -48,7 +48,7 @@ Ext.define('Traccar.view.DevicesController', {
},
objectModel: 'Traccar.model.Device',
- objectDialog: 'Traccar.view.dialog.DeviceDialog',
+ objectDialog: 'Traccar.view.dialog.Device',
removeTitle: Strings.sharedDevice,
init: function () {
@@ -83,7 +83,7 @@ Ext.define('Traccar.view.DevicesController', {
command.set('deviceId', deviceId);
command.set('textChannel', !online);
- dialog = Ext.create('Traccar.view.dialog.CommandDialog');
+ dialog = Ext.create('Traccar.view.dialog.Command');
typesStore = dialog.lookupReference('commandType').getStore();
typesStore.getProxy().setExtraParam('deviceId', deviceId);