There is a bug in QxIframe. The method getContentDocument tries to access the iframe DOM element by calling getIframe. But there is no getIframe, its name is getIframeNode.

Patch is attached...
Index: /home/tschneider/Projekte/qooxdoo/source/script/widgets/QxIframe.js
===================================================================
--- /home/tschneider/Projekte/qooxdoo/source/script/widgets/QxIframe.js 
(revision 2760)
+++ /home/tschneider/Projekte/qooxdoo/source/script/widgets/QxIframe.js 
(working copy)
@@ -203,7 +203,7 @@
   proto.getContentWindow = function()
   {
     if (this.isCreated()) {
-      try { return this.getIframe().contentWindow; }
+      try { return this.getIframeNode().contentWindow; }
       catch (ex) {};
     };
 
@@ -232,7 +232,7 @@
   proto.getContentDocument = function()
   {
     if (this.isCreated()) {
-      try { return this.getIframe().contentDocument; }
+      try { return this.getIframeNode().contentDocument; }
       catch (ex) {};
     };
 

Reply via email to