LSP: bugfix - dont break in case of empty stream or protocol objects
This commit is contained in:
parent
0e440231a3
commit
4e03805671
2 changed files with 3 additions and 0 deletions
|
@ -365,6 +365,7 @@ function updateOverview() {
|
|||
}
|
||||
function updateProtocols() {
|
||||
getData(function(data){
|
||||
if (!data.config.protocols) { data.config.protocols = []; }
|
||||
if (data.config.protocols.length != $('#protocols-tbody').children().length) {
|
||||
saveAndReload('protocols');
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue