Change the requesttoken back to OC.EventSource.requesttoken

This commit is contained in:
Lukas Reschke 2012-10-31 18:43:16 +01:00
parent 7a7f12a0c1
commit 393d2517ee

View file

@ -40,7 +40,7 @@ OC.EventSource=function(src,data){
dataStr+=name+'='+encodeURIComponent(data[name])+'&';
}
}
dataStr+='requesttoken='+OC.Request.Token;
dataStr+='requesttoken='+OC.EventSource.requesttoken;
if(!this.useFallBack && typeof EventSource !='undefined'){
this.source=new EventSource(src+'?'+dataStr);
this.source.onmessage=function(e){