aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/DevicesController.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-03-29 09:58:40 +1300
committerGitHub <noreply@github.com>2017-03-29 09:58:40 +1300
commitf78c547cdda0180a16bf76ddd7395d57dfc49016 (patch)
treee224b0867554d64ba7c2a985c1ceaab529a075d1 /web/app/view/DevicesController.js
parent94973f80f543f82630351a7e5943dd4c9150a8b0 (diff)
parent6f0bcddcac9a2ec711f545f1278a4ec991d05aa6 (diff)
downloadtrackermap-web-f78c547cdda0180a16bf76ddd7395d57dfc49016.tar.gz
trackermap-web-f78c547cdda0180a16bf76ddd7395d57dfc49016.tar.bz2
trackermap-web-f78c547cdda0180a16bf76ddd7395d57dfc49016.zip
Merge pull request #454 from Abyss777/move_dialog
Move BaseDialog, subclasses and their controllers to dialog subfolder
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 742077b2..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.CommandDialog',
- 'Traccar.view.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.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.CommandDialog');
+ dialog = Ext.create('Traccar.view.dialog.Command');
typesStore = dialog.lookupReference('commandType').getStore();
typesStore.getProxy().setExtraParam('deviceId', deviceId);