aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/UsersController.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-15 15:12:46 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-15 15:12:46 +1300
commitd3ca7de349f1d8ab0d02bf783a2c7627af44c6fd (patch)
tree73684ec6f484001d25bb9c1c417d4f5c7aba2e1d /web/app/view/UsersController.js
parent7925028c138228f369180adbd857f4cd986a6346 (diff)
downloadtrackermap-server-d3ca7de349f1d8ab0d02bf783a2c7627af44c6fd.tar.gz
trackermap-server-d3ca7de349f1d8ab0d02bf783a2c7627af44c6fd.tar.bz2
trackermap-server-d3ca7de349f1d8ab0d02bf783a2c7627af44c6fd.zip
Change user devices window
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) {