Update of /var/cvs/contributions/didactor2/src/core/templates/content/js
In directory james.mmbase.org:/tmp/cvs-serv17680

Modified Files:
        open.jsp 
Log Message:
sigh


See also: 
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/core/templates/content/js


Index: open.jsp
===================================================================
RCS file: 
/var/cvs/contributions/didactor2/src/core/templates/content/js/open.jsp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- open.jsp    14 Nov 2008 14:42:33 -0000      1.15
+++ open.jsp    14 Nov 2008 14:54:22 -0000      1.16
@@ -150,7 +150,7 @@
                     if (status == "success") {
                         $(contentEl).empty();
                         $(document).trigger("didactorContentBeforeLoaded",  { 
response: res, number: number });
-                        $(contentEl).append(res.responseXML);
+                        $(contentEl).append(res.responseText);
                         // console.log("updating " + contentEl + "with" + 
xmlhttp.responseXML);
                         contentEl.validator = new MMBaseValidator();
                         //contentEl.validator.logEnabled = true;
@@ -185,13 +185,12 @@
                         if ($.browser.msie) {
                             if ($.browser.version.substr(0, 3) <= 6.0) {
                                 // alert("IE 6 is a horrible browser which 
cannot do this correctly at once
-                                $.timer(500, function(timer) {
+                                setTimeout(function() {
                                         $(contentEl).empty();
                                         for (var i=0; i < array.length; i++) {
                                             contentEl.appendChild(array[i]);
                                         }
-                                    }
-                                    );
+                                    }, 500);
                             }
                         }
                     }
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to