aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/UserDevicesController.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-10-15 15:26:25 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-10-15 15:26:25 +1300
commit6ce1f7d481aec69107ef34924bda57fafbce67ed (patch)
treebbd4aaab6a22457391a6a6f99ca4dfd28704336f /web/app/view/UserDevicesController.js
parentd3ca7de349f1d8ab0d02bf783a2c7627af44c6fd (diff)
downloadtraccar-server-6ce1f7d481aec69107ef34924bda57fafbce67ed.tar.gz
traccar-server-6ce1f7d481aec69107ef34924bda57fafbce67ed.tar.bz2
traccar-server-6ce1f7d481aec69107ef34924bda57fafbce67ed.zip
Service call to get all devices
Diffstat (limited to 'web/app/view/UserDevicesController.js')
-rw-r--r--web/app/view/UserDevicesController.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/web/app/view/UserDevicesController.js b/web/app/view/UserDevicesController.js
index ec40fec02..a0b3de36d 100644
--- a/web/app/view/UserDevicesController.js
+++ b/web/app/view/UserDevicesController.js
@@ -19,13 +19,10 @@ Ext.define('Traccar.view.UserDevicesController', {
alias: 'controller.userDevices',
init: function () {
- //Ext.getStore('Users').load();
+ this.getView().getStore().load();
},
onSelectionChange: function (selected) {
- /*var disabled = selected.length > 0;
- this.lookupReference('toolbarEditButton').setDisabled(disabled);
- this.lookupReference('toolbarRemoveButton').setDisabled(disabled);
- this.lookupReference('userDevicesButton').setDisabled(disabled);*/
+ console.log(selected); // TODO
}
});