aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/user/UserController.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/user/UserController.js')
-rw-r--r--web/app/view/user/UserController.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/web/app/view/user/UserController.js b/web/app/view/user/UserController.js
index c4fa04ff3..041c70166 100644
--- a/web/app/view/user/UserController.js
+++ b/web/app/view/user/UserController.js
@@ -63,11 +63,26 @@ Ext.define('Traccar.view.user.UserController', {
}
});
},
+
+ onDevicesClick: function() {
+ // TODO show devices
+ /*Ext.create('Ext.window.Window', {
+ title: strings.settingsUsers,
+ width: styles.windowWidth,
+ height: styles.windowHeight,
+ layout: 'fit',
+ modal: true,
+ items: {
+ xtype: 'userView'
+ }
+ }).show();*/
+ },
onSelectionChange: function(selected) {
var disabled = selected.length > 0;
this.lookupReference('userEditButton').setDisabled(disabled);
this.lookupReference('userRemoveButton').setDisabled(disabled);
+ this.lookupReference('userDevicesButton').setDisabled(disabled);
}
});