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 mt...@apache.org on 2006/08/23 23:00:18 UTC

svn commit: r434234 - /incubator/xap/trunk/src/xap/bridges/basic/AbstractBlackBoxWidgetBridge.js

Author: mturyn
Date: Wed Aug 23 16:00:17 2006
New Revision: 434234

URL: http://svn.apache.org/viewvc?rev=434234&view=rev
Log:
Fixed a bug that can hit when setting attributes early---eventTriggers object doesn't seem to have been built.  Should investigate later:  error was only showing up for http://localhost:8080/xap/examples/htmlEmbedding/Example_3_specialAttributes_controlledComponentLevelDisplay.html, none of the other, very similar, examples in that same directory.

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

Modified: incubator/xap/trunk/src/xap/bridges/basic/AbstractBlackBoxWidgetBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/basic/AbstractBlackBoxWidgetBridge.js?rev=434234&r1=434233&r2=434234&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/basic/AbstractBlackBoxWidgetBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/basic/AbstractBlackBoxWidgetBridge.js Wed Aug 23 16:00:17 2006
@@ -412,7 +412,7 @@
 		return ;
 	}	
 	
-	if( this.eventTriggers[name]){
+	if( this.eventTriggers && this.eventTriggers[name]){
 		// This is one of our widget-specific mapped events;
 		// see "onCommand" super.
 		return ;