mirror of
https://github.com/jketterl/openwebrx.git
synced 2026-04-20 22:05:13 +00:00
automatically load modes into bookmark dialog
This commit is contained in:
parent
a6a29b7032
commit
93b8f75cc3
4 changed files with 13 additions and 11 deletions
|
|
@ -5,6 +5,7 @@ var Modes = {
|
|||
setModes:function(json){
|
||||
this.modes = json.map(function(m){ return new Mode(m); });
|
||||
this.updatePanels();
|
||||
$('#openwebrx-dialog-bookmark').bookmarkDialog().setModes(this.modes);
|
||||
},
|
||||
getModes:function(){
|
||||
return this.modes;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue