summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-10-31 18:43:16 +0100
committerLukas Reschke <lukas@statuscode.ch>2012-10-31 18:43:16 +0100
commit393d2517ee6734c9540211edb714b3ec1324018f (patch)
tree4b55c6c0534861d9e8e41a063004a3848ff3fb4f /core/js
parent7a7f12a0c126522cb067de692af0950d46bf15fc (diff)
downloadnextcloud-server-393d2517ee6734c9540211edb714b3ec1324018f.tar.gz
nextcloud-server-393d2517ee6734c9540211edb714b3ec1324018f.zip
Change the requesttoken back to OC.EventSource.requesttoken
Diffstat (limited to 'core/js')
-rw-r--r--core/js/eventsource.js2
1 files changed, 1 insertions, 1 deletions
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){