aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/DeviceController.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/DeviceController.js')
-rw-r--r--web/app/view/DeviceController.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/app/view/DeviceController.js b/web/app/view/DeviceController.js
index a2e0aaae8..c3d1d4787 100644
--- a/web/app/view/DeviceController.js
+++ b/web/app/view/DeviceController.js
@@ -97,8 +97,8 @@ Ext.define('Traccar.view.DeviceController', {
onSelectionChange: function (selected) {
var empty = selected.getCount() === 0;
- this.lookupReference('deviceEditButton').setDisabled(empty);
- this.lookupReference('deviceRemoveButton').setDisabled(empty);
+ this.lookupReference('toolbarEditButton').setDisabled(empty);
+ this.lookupReference('toolbarRemoveButton').setDisabled(empty);
this.lookupReference('deviceCommandButton').setDisabled(empty);
if (!empty) {
this.fireEvent('selectDevice', selected.getLastSelected());