From: Lukas Reschke Date: Wed, 31 Oct 2012 17:43:16 +0000 (+0100) Subject: Change the requesttoken back to OC.EventSource.requesttoken X-Git-Tag: v5.0.0alpha1~513^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=393d2517ee6734c9540211edb714b3ec1324018f;p=nextcloud-server.git Change the requesttoken back to OC.EventSource.requesttoken --- diff --git a/core/js/eventsource.js b/core/js/eventsource.js index 45c63715a7e..e3ad7e3a671 100644 --- a/core/js/eventsource.js +++ b/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){