aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-02-26 20:45:25 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2013-02-26 20:45:25 +0100
commita65b16f3e75235882482e49eb603eeecf9431633 (patch)
tree81779393c39ae74f22053ba8c877f99dc47cdee5
parent81bb4363a2e9df22c12d06fc3df82a7ee947cb21 (diff)
downloadnextcloud-server-a65b16f3e75235882482e49eb603eeecf9431633.tar.gz
nextcloud-server-a65b16f3e75235882482e49eb603eeecf9431633.zip
generate url only once
-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);
});
} /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
In the Nextcloud community, participants from all over the world come together to create Free Software for a free internet. This is made possible by the support, hard work and enthusiasm of thousands of people, including those who create and use Nextcloud software.

Our code of conduct offers some guidance to ensure Nextcloud participants can cooperate effectively in a positive and inspiring atmosphere, and to explain how together we can strengthen and support each other.

The Code of Conduct is shared by all contributors and users who engage with the Nextcloud team and its community services. It presents a summary of the shared values and “common sense” thinking in our community.

You can find our full code of conduct on our website: https://nextcloud.com/code-of-conduct/

Please, keep our CoC in mind when you contribute! That way, everyone can be a part of our community in a productive, positive, creative and fun way.