Update of /var/cvs/contributions/didactor2/src/core/templates/core/js
In directory james.mmbase.org:/tmp/cvs-serv22350
Modified Files:
Didactor.js
Log Message:
obviously would be broken in IE7
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.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- Didactor.js 5 Mar 2009 08:28:03 -0000 1.18
+++ Didactor.js 5 Mar 2009 09:50:59 -0000 1.19
@@ -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.18 2009/03/05 08:28:03 michiel Exp $
+ * @version $Id: Didactor.js,v 1.19 2009/03/05 09:50:59 michiel Exp $
*/
@@ -272,18 +272,16 @@
alert(ex);
}
self.usedFrames[href] = array;
- if ($.browser.msie) {
- if ($.browser.version.substr(0, 3) <= 6.0) {
+ if ($.browser.msie && $.browser.version.substr(0, 3)
<= 6.0) {
// alert("IE 6 is a horrible browser which
cannot do this correctly at once
setTimeout(function() {
$(contentEl).empty();
- for (var i=0; i < array.length; i++) {
+ for (var i = 0; i < array.length; i++) {
contentEl.appendChild(array[i]);
}
$(document).trigger("didactorContentLoaded", { loaded: contentEl, number:
number });
$(document).trigger("didactorContent",
{ loaded: contentEl, number: number });
}, 500);
- }
} else {
$(document).trigger("didactorContentLoaded", {
loaded: contentEl, number: number });
$(document).trigger("didactorContent", { loaded:
contentEl, number: number });
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs