Merge pull request #1271 from etracer65/msc_reboot_device_check
Check selected blackbox device before allowing mass storage reboot10.5.x-maintenance
commit
c1a188f31d
|
@ -147,7 +147,7 @@ TABS.onboard_logging.initialize = function (callback) {
|
||||||
}).change();
|
}).change();
|
||||||
|
|
||||||
if (semver.gte(CONFIG.apiVersion, "1.40.0")) {
|
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")
|
$(".tab-onboard_logging")
|
||||||
.toggleClass("msc-supported", true);
|
.toggleClass("msc-supported", true);
|
||||||
|
|
Loading…
Reference in New Issue