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/11/16 08:11:26 UTC
svn commit: r475621 -
/incubator/xap/trunk/src/xap/bridges/basic/AbstractWidgetBridge.js
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 );
}