diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-15 16:28:42 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-15 16:28:42 +1300 |
commit | 9d159c880ab0fdb3f6f632dcb80577c6c2fb2f11 (patch) | |
tree | 206d945cc152c8c9e945a7ee62c40d48701b06d2 /web/app/view/UsersController.js | |
parent | 6ce1f7d481aec69107ef34924bda57fafbce67ed (diff) | |
download | trackermap-server-9d159c880ab0fdb3f6f632dcb80577c6c2fb2f11.tar.gz trackermap-server-9d159c880ab0fdb3f6f632dcb80577c6c2fb2f11.tar.bz2 trackermap-server-9d159c880ab0fdb3f6f632dcb80577c6c2fb2f11.zip |
Load and select user device list
Diffstat (limited to 'web/app/view/UsersController.js')
-rw-r--r-- | web/app/view/UsersController.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/web/app/view/UsersController.js b/web/app/view/UsersController.js index cfcf17fe1..30eb8b1a5 100644 --- a/web/app/view/UsersController.js +++ b/web/app/view/UsersController.js @@ -65,10 +65,12 @@ Ext.define('Traccar.view.UsersController', { }, onDevicesClick: function () { + var user = this.getView().getSelectionModel().getSelection()[0]; Ext.create('Traccar.view.BaseWindow', { title: Strings.deviceTitle, items: { - xtype: 'userDevicesView' + xtype: 'userDevicesView', + user: user } }).show(); }, |