mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Change the requesttoken back to OC.EventSource.requesttoken
This commit is contained in:
parent
7a7f12a0c1
commit
393d2517ee
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue