Merge pull request #1271 from etracer65/msc_reboot_device_check

Check selected blackbox device before allowing mass storage reboot
10.5.x-maintenance
Michael Keller 2019-01-15 00:16:56 +13:00 committed by GitHub
commit c1a188f31d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ TABS.onboard_logging.initialize = function (callback) {
}).change();
if (semver.gte(CONFIG.apiVersion, "1.40.0")) {
if (SDCARD.supported || DATAFLASH.supported) {
if ((SDCARD.supported && deviceSelect.val() == 2) || (DATAFLASH.supported && deviceSelect.val() == 1)) {
$(".tab-onboard_logging")
.toggleClass("msc-supported", true);