kopia lustrzana https://github.com/projecthorus/radiosonde_auto_rx
Merge pull request #742 from AstroTaka/testing-meisei-id-fix
Remove MEISEI sonde type from IDpull/747/head
commit
4ac1c4ba61
|
@ -483,8 +483,8 @@
|
|||
{title:'Freq (MHz)', field:"freq", headerSort:true},
|
||||
{title:"ID", field:"id", width:125, headerSort:true, formatter:function(cell, formatterParams, onRendered){
|
||||
_cell_data = cell.getData();
|
||||
_id = _cell_data.id.replace(/^(DFM|M10|M20|IMET|IMET5|IMET54|MRZ)-/,"");
|
||||
_sondehub_id = _cell_data.id.replace(/^(DFM|M10|M20|IMET|IMET5|IMET54|MRZ)-/,"");
|
||||
_id = _cell_data.id.replace(/^(DFM|M10|M20|IMET|IMET5|IMET54|MRZ|IMS100|RS11G|MTS01)-/,"");
|
||||
_sondehub_id = _cell_data.id.replace(/^(DFM|M10|M20|IMET|IMET5|IMET54|MRZ|IMS100|RS11G|MTS01)-/,"");
|
||||
|
||||
// Add Sondehub Link
|
||||
_id += " <a href='http://sondehub.org/" + _sondehub_id + "' title='View on Sondehub' target='_blank'>" + "<img src='{{ url_for('static', filename='img/sondehub.png')}}'/>" + "</a>";
|
||||
|
|
Ładowanie…
Reference in New Issue