incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtu...@apache.org
Subject svn commit: r418370 - /incubator/xap/trunk/src/xap/bridges/dojo/DojoWidgetBridge.js
Date Fri, 30 Jun 2006 20:24:50 GMT
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) ;



Mime
View raw message