aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/edit/DevicesController.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/view/edit/DevicesController.js')
-rw-r--r--web/app/view/edit/DevicesController.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/app/view/edit/DevicesController.js b/web/app/view/edit/DevicesController.js
index 40202e7..a4bbd4b 100644
--- a/web/app/view/edit/DevicesController.js
+++ b/web/app/view/edit/DevicesController.js
@@ -106,7 +106,7 @@ Ext.define('Traccar.view.edit.DevicesController', {
this.lookupReference('toolbarRemoveButton').setDisabled(empty || readonly || deviceReadonly);
deviceMenu = this.lookupReference('toolbarDeviceMenu');
deviceMenu.device = empty ? null : selected[0];
- this.lookupReference('toolbarDeviceMenu').setDisabled(empty);
+ deviceMenu.setDisabled(empty);
this.lookupReference('deviceCommandButton').setDisabled(empty || readonly);
},