recieverTab: lexcical sorted rxMode (#3276)

10.9-maintenance
HThuren 2023-01-26 00:31:56 +01:00 committed by GitHub
parent 02e9c771f9
commit 4f99c51333
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -412,6 +412,9 @@ receiver.initialize = function (callback) {
$('input.elrsUid').toggle(tab.elrsBindingPhraseEnabled);
}
// Sort the element, if need to group, do it by lexical sort, ie. by naming of (the translated) selection text
$('#rxModeSelect').sortSelect(i18n.getMessage("featureNone"));
$(featuresElement).filter('select').change(function () {
const element = $(this);
FC.FEATURE_CONFIG.features.updateData(element);

View File

@ -36,7 +36,7 @@
<div class="spacer_box_title" i18n="configurationReceiver"></div>
</div>
<div class="spacer_box">
<select class="features rxMode" name="rxMode">
<select id="rxModeSelect" class="features rxMode" name="rxMode">
<!-- list generated here -->
</select>
<span i18n="configurationReceiverMode"></span>