Remove feature for versions prior to 3.0

10.3.x-maintenance
KiteAnton 2016-07-13 23:47:15 +02:00
parent aab0035d92
commit ac8eab6f8c
2 changed files with 6 additions and 1 deletions

View File

@ -485,7 +485,7 @@
</div>
</div>
</div>
<div class="gui_box grey">
<div class="gui_box grey miscSettings">
<div class="gui_box_titlebar">
<div class="spacer_box_title" i18n="configurationMisc"></div>
</div>

View File

@ -397,6 +397,11 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
}
$('input[name="vesselName"]').val(CONFIG.name);
if (CONFIG.flightControllerIdentifier != "BTFL" || semver.lt(CONFIG.flightControllerVersion, "3.0.0")) {
$('.miscSettings').hide();
}
// generate GPS