Update of /var/cvs/contributions/didactor2/src/core/templates/core/js
In directory james.mmbase.org:/tmp/cvs-serv9314
Modified Files:
Didactor.js
Log Message:
indtnation, I thing setContent does not have to happend async
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.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- Didactor.js 17 Oct 2008 14:16:42 -0000 1.10
+++ Didactor.js 23 Oct 2008 10:20:38 -0000 1.11
@@ -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.10 2008/10/17 14:16:42 michiel Exp $
+ * @version $Id: Didactor.js,v 1.11 2008/10/23 10:20:38 michiel Exp $
*/
@@ -62,13 +62,16 @@
params = {};
}
- $.ajax({async: (async == null ? true : async), url: this.onlineReporter,
type: "GET", data: params});
+ $.ajax({async: (async == null ? true : async),
+ url: this.onlineReporter,
+ type: "GET",
+ data: params});
this.lastCheck = thisCheck;
}
Didactor.prototype.setContent = function(c) {
if (this.pageReporter) {
- this.reportOnline(null, false);
+ this.reportOnline();
}
this.content = c;
}
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs