Thanks Til!

Applied to SVN.

Sebastian



Til Schneider schrieb:
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) {};
     };



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to