shindig-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wood...@apache.org
Subject svn commit: r1146849 - /shindig/trunk/features/src/main/javascript/features/container.gadget/gadget_holder.js
Date Thu, 14 Jul 2011 18:59:35 GMT
Author: woodser
Date: Thu Jul 14 18:59:34 2011
New Revision: 1146849

URL: http://svn.apache.org/viewvc?rev=1146849&view=rev
Log:
Committing patch "gadget_holder.getIframeElement fails to return the iframe element when pubsub-2
feature is in use": https://reviews.apache.org/r/983/

Modified:
    shindig/trunk/features/src/main/javascript/features/container.gadget/gadget_holder.js

Modified: shindig/trunk/features/src/main/javascript/features/container.gadget/gadget_holder.js
URL: http://svn.apache.org/viewvc/shindig/trunk/features/src/main/javascript/features/container.gadget/gadget_holder.js?rev=1146849&r1=1146848&r2=1146849&view=diff
==============================================================================
--- shindig/trunk/features/src/main/javascript/features/container.gadget/gadget_holder.js
(original)
+++ shindig/trunk/features/src/main/javascript/features/container.gadget/gadget_holder.js
Thu Jul 14 18:59:34 2011
@@ -147,9 +147,10 @@ osapi.container.GadgetHolder.prototype.g
 
 /**
  * @return {Node} The iframe element containing gadget.
+ * @see osapi.container.GadgetHolder.prototype.doOaaIframeHtml_ and org.openajax.hub-2.0.5/iframe.js:createIframe()
  */
 osapi.container.GadgetHolder.prototype.getIframeElement = function() {
-  return this.el_.firstChild;
+  return this.el_.getElementsByTagName('iframe')[0];
 };
 
 



Mime
View raw message