only available ones
This commit is contained in:
parent
93b8f75cc3
commit
e2cacc1fa0
@ -2,7 +2,9 @@ $.fn.bookmarkDialog = function() {
|
||||
var $el = this;
|
||||
return {
|
||||
setModes: function(modes) {
|
||||
$el.find('#modulation').html(modes.map(function(m) {
|
||||
$el.find('#modulation').html(modes.filter(function(m){
|
||||
return m.isAvailable();
|
||||
}).map(function(m) {
|
||||
return '<option value="' + m.modulation + '">' + m.name + '</option>';
|
||||
}).join(''));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user