fix eventsource fallback when more then one eventsource is active
This commit is contained in:
parent
ecf8e77dab
commit
57ed83f266
|
@ -36,7 +36,7 @@ class OC_EventSource{
|
|||
header('Cache-Control: no-cache');
|
||||
$this->fallback=isset($_GET['fallback']) and $_GET['fallback']=='true';
|
||||
if($this->fallback){
|
||||
$fallBackId=$_GET['fallback_id'];
|
||||
$this->fallBackId=$_GET['fallback_id'];
|
||||
header("Content-Type: text/html");
|
||||
echo str_repeat('<span></span>'.PHP_EOL,10); //dummy data to keep IE happy
|
||||
}else{
|
||||
|
|
Loading…
Reference in New Issue