aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/device/DeviceController.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-09-21 16:14:57 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-09-21 16:14:57 +1200
commit1bd459e27af45dda6011d113cc0e49fe79cb673d (patch)
tree63af4927bfc4b98169d2f7979b9ec0acef7a30e9 /web/app/view/device/DeviceController.js
parent992a1530ef1636025932b67aab1ba7cfaabce9e3 (diff)
downloadtraccar-server-1bd459e27af45dda6011d113cc0e49fe79cb673d.tar.gz
traccar-server-1bd459e27af45dda6011d113cc0e49fe79cb673d.tar.bz2
traccar-server-1bd459e27af45dda6011d113cc0e49fe79cb673d.zip
Refactor server dialog class
Diffstat (limited to 'web/app/view/device/DeviceController.js')
-rw-r--r--web/app/view/device/DeviceController.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/app/view/device/DeviceController.js b/web/app/view/device/DeviceController.js
index 3cfe3888d..d7cade414 100644
--- a/web/app/view/device/DeviceController.js
+++ b/web/app/view/device/DeviceController.js
@@ -22,7 +22,7 @@ Ext.define('Traccar.view.device.DeviceController', {
'Traccar.view.device.DeviceDialog',
'Traccar.view.command.CommandDialog',
'Traccar.view.user.UserDialog',
- 'Traccar.view.admin.ServerDialog',
+ 'Traccar.view.ServerDialog',
'Traccar.view.user.User',
'Traccar.view.login.LoginController'
],
@@ -112,7 +112,7 @@ Ext.define('Traccar.view.device.DeviceController', {
},
onServerClick: function() {
- var dialog = Ext.create('Traccar.view.admin.ServerDialog');
+ var dialog = Ext.create('Traccar.view.ServerDialog');
dialog.down('form').loadRecord(Traccar.app.getServer());
dialog.show();
},