diff options
Diffstat (limited to 'web/app/view/device')
-rw-r--r-- | web/app/view/device/DeviceController.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/app/view/device/DeviceController.js b/web/app/view/device/DeviceController.js index d7cade414..58386596d 100644 --- a/web/app/view/device/DeviceController.js +++ b/web/app/view/device/DeviceController.js @@ -20,7 +20,7 @@ Ext.define('Traccar.view.device.DeviceController', { requires: [ 'Traccar.view.device.DeviceDialog', - 'Traccar.view.command.CommandDialog', + 'Traccar.view.CommandDialog', 'Traccar.view.user.UserDialog', 'Traccar.view.ServerDialog', 'Traccar.view.user.User', @@ -90,7 +90,7 @@ Ext.define('Traccar.view.device.DeviceController', { device = this.getView().getSelectionModel().getSelection()[0]; command = Ext.create('Traccar.model.Command'); command.set('deviceId', device.get('id')); - dialog = Ext.create('Traccar.view.command.CommandDialog'); + dialog = Ext.create('Traccar.view.CommandDialog'); dialog.down('form').loadRecord(command); dialog.show(); }, |