Author: michiel
Date: 2010-03-17 13:59:25 +0100 (Wed, 17 Mar 2010)
New Revision: 41464

Modified:
   didactor/trunk/components/core/src/main/webapp/content/js/open.jsp
Log:
I' not sure why exactly, but sometime a NPE there

Modified: didactor/trunk/components/core/src/main/webapp/content/js/open.jsp
===================================================================
--- didactor/trunk/components/core/src/main/webapp/content/js/open.jsp  
2010-03-17 12:43:54 UTC (rev 41463)
+++ didactor/trunk/components/core/src/main/webapp/content/js/open.jsp  
2010-03-17 12:59:25 UTC (rev 41464)
@@ -194,7 +194,9 @@
                     usedFrames[document.href_frame] = null;
                     document.href_frame = href;
                     //console.log("Found result " + contentEl);
-                    usedFrames[href] = contentEl.childNodes;
+                    if (contentEl != null) {
+                        usedFrames[href] = contentEl.childNodes;
+                    }
                 } else {
                     alert(status);
                 }

_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to