diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2012-10-31 18:43:16 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2012-10-31 18:43:16 +0100 |
commit | 393d2517ee6734c9540211edb714b3ec1324018f (patch) | |
tree | 4b55c6c0534861d9e8e41a063004a3848ff3fb4f /core/js | |
parent | 7a7f12a0c126522cb067de692af0950d46bf15fc (diff) | |
download | nextcloud-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.js | 2 |
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){ |