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 2006/10/13 00:00:16 UTC

svn commit: r463519 - in /incubator/xap/trunk/src/xap/bridges/dojo: MenuBarItemBridge.js MenuItemBridge.js

Author: jmargaris
Date: Thu Oct 12 17:00:15 2006
New Revision: 463519

URL: http://svn.apache.org/viewvc?view=rev&rev=463519
Log:
bug fix, used value instead of nodeValue

Modified:
    incubator/xap/trunk/src/xap/bridges/dojo/MenuBarItemBridge.js
    incubator/xap/trunk/src/xap/bridges/dojo/MenuItemBridge.js

Modified: incubator/xap/trunk/src/xap/bridges/dojo/MenuBarItemBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/dojo/MenuBarItemBridge.js?view=diff&rev=463519&r1=463518&r2=463519
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/dojo/MenuBarItemBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/dojo/MenuBarItemBridge.js Thu Oct 12 17:00:15 2006
@@ -92,11 +92,11 @@
 		return;
 	}
 	if (peer.labelNode.childNodes[0].childNodes[0]){
-		peer.labelNode.childNodes[0].childNodes[0].value =  text;
+		peer.labelNode.childNodes[0].childNodes[0].nodeValue =  text;
 	}
 	
 	if (peer.labelShadowNode){
-		peer.labelShadowNode.childNodes[0].value = text;
+		peer.labelShadowNode.childNodes[0].nodeValue = text;
 	}
 }	
 

Modified: incubator/xap/trunk/src/xap/bridges/dojo/MenuItemBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/dojo/MenuItemBridge.js?view=diff&rev=463519&r1=463518&r2=463519
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/dojo/MenuItemBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/dojo/MenuItemBridge.js Thu Oct 12 17:00:15 2006
@@ -79,11 +79,11 @@
 	
 	
 	if (peer.labelNode.childNodes[0].childNodes[0]){
-		peer.labelNode.childNodes[0].childNodes[0].value =  text;
+		peer.labelNode.childNodes[0].childNodes[0].nodeValue =  text;
 	}
 	
 	if (peer.labelShadowNode){
-		peer.labelShadowNode.childNodes[0].value = text;
+		peer.labelShadowNode.childNodes[0].nodeValue = text;
 	}
 }