diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-04 19:05:01 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-10-04 19:05:01 +1300 |
commit | 80c3aaf2af10c8d94b18f01a0a3d825437a5596d (patch) | |
tree | 09fab6f041d01ef26acacb12f071c3d6a503fa24 /web/app/view/DeviceController.js | |
parent | 99d132dc78b42b6cc5833b3a7faf30d2fe56186f (diff) | |
download | trackermap-server-80c3aaf2af10c8d94b18f01a0a3d825437a5596d.tar.gz trackermap-server-80c3aaf2af10c8d94b18f01a0a3d825437a5596d.tar.bz2 trackermap-server-80c3aaf2af10c8d94b18f01a0a3d825437a5596d.zip |
Create a base edit toolbar class
Diffstat (limited to 'web/app/view/DeviceController.js')
-rw-r--r-- | web/app/view/DeviceController.js | 4 |
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()); |