Update of /var/cvs/contributions/didactor2/src/core/templates/core/js
In directory james.mmbase.org:/tmp/cvs-serv2781/templates/core/js
Modified Files:
Didactor.js
Log Message:
See also:
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/core/templates/core/js
Index: Didactor.js
===================================================================
RCS file:
/var/cvs/contributions/didactor2/src/core/templates/core/js/Didactor.js,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- Didactor.js 10 Nov 2008 16:26:39 -0000 1.14
+++ Didactor.js 11 Nov 2008 08:17:03 -0000 1.15
@@ -6,7 +6,7 @@
* One global variable 'didactor' is automaticly created, which can be be
referenced (as long as the di:head tag is used).
* @since Didactor 2.3.0
* @author Michiel Meeuwissen
- * @version $Id: Didactor.js,v 1.14 2008/11/10 16:26:39 michiel Exp $
+ * @version $Id: Didactor.js,v 1.15 2008/11/11 08:17:03 michiel Exp $
*/
@@ -23,7 +23,8 @@
$.timer(500, function(timer) {
self.reportOnline();
- timer.reset(self.pageReporter ? 5000 : 1000 * 60 * 2);
+ var interval = self.getSetting("Didactor-PageReporterInterval") * 1000;
+ timer.reset(self.pageReporter ? interval : 1000 * 60 * 2);
});
if (this.pageReporter) {
$(window).bind("beforeunload", function() {
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs