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 jm...@apache.org on 2007/09/19 01:56:02 UTC

svn commit: r577128 - /incubator/xap/trunk/codebase/src/xap/session/ClientSession.js

Author: jmargaris
Date: Tue Sep 18 18:56:02 2007
New Revision: 577128

URL: http://svn.apache.org/viewvc?rev=577128&view=rev
Log:
TODO is now TODONE

Modified:
    incubator/xap/trunk/codebase/src/xap/session/ClientSession.js

Modified: incubator/xap/trunk/codebase/src/xap/session/ClientSession.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/xap/session/ClientSession.js?rev=577128&r1=577127&r2=577128&view=diff
==============================================================================
--- incubator/xap/trunk/codebase/src/xap/session/ClientSession.js (original)
+++ incubator/xap/trunk/codebase/src/xap/session/ClientSession.js Tue Sep 18 18:56:02 2007
@@ -202,10 +202,7 @@
 	}
 	for( var i=0; i < root.childNodes.length; i++ ) {
 		var child = root.childNodes[i];
-		
-		//TODO watch out for comments, text nodes, etc?
-		var ns = child.getNamespaceUri();
-		if(ns) {
+		if (child.nodeType===google.DOM_ELEMENT_NODE && child.getNamespaceUri()){
 			namespaceHandlerManager.dispatch( child );
 		}
 	}