aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/edit/DevicesController.js
diff options
context:
space:
mode:
authorAbyss777 <abyss@fox5.ru>2017-09-20 10:52:31 +0500
committerAbyss777 <abyss@fox5.ru>2017-09-20 10:52:31 +0500
commitac102b14c7ef665542eeb9f6aae69c6ccb023929 (patch)
treeb96a5f22baf7f3c13ca8cd3bc27c050d1f6ee20a /web/app/view/edit/DevicesController.js
parent3a5e334b50bf35d11743d937c9fae2fb8c7829ec (diff)
downloadtrackermap-web-ac102b14c7ef665542eeb9f6aae69c6ccb023929.tar.gz
trackermap-web-ac102b14c7ef665542eeb9f6aae69c6ccb023929.tar.bz2
trackermap-web-ac102b14c7ef665542eeb9f6aae69c6ccb023929.zip
- Change string
- Use "up" method - Remove spaces
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 40202e75..a4bbd4ba 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);
},