summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/js/js.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/js.js b/core/js/js.js
index 4016f64d601..46dd273b068 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -824,8 +824,8 @@ OC.set=function(name, value) {
*/
function sessionHeartBeat(){
OC.Router.registerLoadedCallback(function(){
+ var url = OC.Router.generate('heartbeat');
setInterval(function(){
- var url = OC.Router.generate('heartbeat');
$.post(url);
}, 900000);
});