diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-09-21 16:22:28 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-09-21 16:22:28 +1200 |
commit | 318ad837e5e9b26a8320c93114806514fc629166 (patch) | |
tree | f2eaa15b4fac5038a8b483351c32c3d6205b6590 /web/app/view/device/DeviceController.js | |
parent | 1bd459e27af45dda6011d113cc0e49fe79cb673d (diff) | |
download | trackermap-server-318ad837e5e9b26a8320c93114806514fc629166.tar.gz trackermap-server-318ad837e5e9b26a8320c93114806514fc629166.tar.bz2 trackermap-server-318ad837e5e9b26a8320c93114806514fc629166.zip |
Refactor commands dialog classes
Diffstat (limited to 'web/app/view/device/DeviceController.js')
-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(); }, |