Change the requesttoken back to OC.EventSource.requesttoken

remotes/origin/stable5
Lukas Reschke 12 years ago
parent 7a7f12a0c1
commit 393d2517ee
  1. 2
      core/js/eventsource.js

@ -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){

Loading…
Cancel
Save