You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-commits@incubator.apache.org by mt...@apache.org on 2006/06/30 20:24:50 UTC
svn commit: r418370 -
/incubator/xap/trunk/src/xap/bridges/dojo/DojoWidgetBridge.js
Author: mturyn
Date: Fri Jun 30 13:24:49 2006
New Revision: 418370
URL: http://svn.apache.org/viewvc?rev=418370&view=rev
Log:
In testing fitness of parent for peer, now use "nodeName" instead of "localName", for IE6---namespace issues shouldn't made this a problem for the simple elements we're taking for parent (DIV, BODY, TD for now).
Modified:
incubator/xap/trunk/src/xap/bridges/dojo/DojoWidgetBridge.js
Modified: incubator/xap/trunk/src/xap/bridges/dojo/DojoWidgetBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/dojo/DojoWidgetBridge.js?rev=418370&r1=418369&r2=418370&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/dojo/DojoWidgetBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/dojo/DojoWidgetBridge.js Fri Jun 30 13:24:49 2006
@@ -82,9 +82,9 @@
// Hmmm...is there a better, generic, way
// of describing an element that contains
// a Dojo widget?
- if ( parentPeer.localName=="DIV"
- || parentPeer.localName=="BODY"
- || parentPeer.localName=="TD"
+ if ( parentPeer.nodeName=="DIV"
+ || parentPeer.nodeName=="BODY"
+ || parentPeer.nodeName=="TD"
) {
var tmp = document.createElement("DIV") ;
parentPeer.appendChild(tmp) ;