Fixed default port bug in the LSP
This commit is contained in:
parent
59b21d94ec
commit
91184ebc71
1 changed files with 6 additions and 1 deletions
|
@ -614,8 +614,13 @@
|
|||
};
|
||||
|
||||
$('input').each(function(){
|
||||
newprotocol[$(this).attr('id').split('-')[2]] = $(this).val();;
|
||||
|
||||
if($(this).val() != '')
|
||||
{
|
||||
newprotocol[$(this).attr('id').split('-')[2]] = $(this).val();
|
||||
}
|
||||
});
|
||||
|
||||
newprotocol.online = -1;
|
||||
if (streamname == 'new') {
|
||||
settings.settings.config.protocols.push(newprotocol);
|
||||
|
|
Loading…
Add table
Reference in a new issue