aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/UsersController.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/UsersController.js')
-rw-r--r--web/app/view/UsersController.js12
1 files changed, 9 insertions, 3 deletions
diff --git a/web/app/view/UsersController.js b/web/app/view/UsersController.js
index c8fd137ed..cfcf17fe1 100644
--- a/web/app/view/UsersController.js
+++ b/web/app/view/UsersController.js
@@ -19,7 +19,9 @@ Ext.define('Traccar.view.UsersController', {
alias: 'controller.users',
requires: [
- 'Traccar.view.UserDialog'
+ 'Traccar.view.UserDialog',
+ 'Traccar.view.UserDevices',
+ 'Traccar.view.BaseWindow'
],
init: function () {
@@ -63,8 +65,12 @@ Ext.define('Traccar.view.UsersController', {
},
onDevicesClick: function () {
- //var dialog = Ext.create('Traccar.view.UserDeviceDialog');
- //dialog.show();
+ Ext.create('Traccar.view.BaseWindow', {
+ title: Strings.deviceTitle,
+ items: {
+ xtype: 'userDevicesView'
+ }
+ }).show();
},
onSelectionChange: function (selected) {