CC-4943: Raspberry Pi optimization: don't create new background AJAX request until the previous one has returned
-fixed
This commit is contained in:
parent
30c47df93d
commit
bb7e56e39e
7 changed files with 22 additions and 12 deletions
|
@ -103,6 +103,8 @@ function checkLiquidsoapStatus(){
|
|||
}
|
||||
$("#s"+id+"Liquidsoap-error-msg-element").html(html);
|
||||
}
|
||||
|
||||
setTimeout(checkLiquidsoapStatus, 2000);
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -242,10 +244,10 @@ function setupEventListeners() {
|
|||
return false;
|
||||
})
|
||||
|
||||
setLiveSourceConnectionOverrideListener()
|
||||
setLiveSourceConnectionOverrideListener();
|
||||
|
||||
showErrorSections()
|
||||
setInterval('checkLiquidsoapStatus()', 1000)
|
||||
showErrorSections();
|
||||
checkLiquidsoapStatus();
|
||||
|
||||
// qtip for help text
|
||||
$(".override_help_icon").qtip({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue