incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmarga...@apache.org
Subject svn commit: r475621 - /incubator/xap/trunk/src/xap/bridges/basic/AbstractWidgetBridge.js
Date Thu, 16 Nov 2006 08:11:26 GMT
Author: jmargaris
Date: Thu Nov 16 00:11:26 2006
New Revision: 475621

URL: http://svn.apache.org/viewvc?view=rev&rev=475621
Log:
databinding bug fix removing iterator placeholder had 
issues with null handler

Modified:
    incubator/xap/trunk/src/xap/bridges/basic/AbstractWidgetBridge.js

Modified: incubator/xap/trunk/src/xap/bridges/basic/AbstractWidgetBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/basic/AbstractWidgetBridge.js?view=diff&rev=475621&r1=475620&r2=475621
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/basic/AbstractWidgetBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/basic/AbstractWidgetBridge.js Thu Nov 16 00:11:26
2006
@@ -283,7 +283,9 @@
 xap.bridges.basic.AbstractWidgetBridge.prototype.onChildRemoved = function (e) {
    var childElement = e.getChange();
 	var childHandler = this.getUiContentHandler().getHandlerForElement( childElement );
-	this.removeChild(childHandler);
+	if (childHandler){
+		this.removeChild(childHandler);
+	}
 	xap.taghandling.AbstractTagImpl.prototype.onChildRemoved.call( this, e );
 }
 



Mime
View raw message