incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtu...@apache.org
Subject svn commit: r483685 - /incubator/xap/trunk/src/xap/bridges/basic/AbstractWidgetBridge.js
Date Thu, 07 Dec 2006 21:54:12 GMT
Author: mturyn
Date: Thu Dec  7 13:54:10 2006
New Revision: 483685

URL: http://svn.apache.org/viewvc?view=rev&rev=483685
Log:
>From Rob Gagne

Fix for clicking

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=483685&r1=483684&r2=483685
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/basic/AbstractWidgetBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/basic/AbstractWidgetBridge.js Thu Dec  7 13:54:10
2006
@@ -236,7 +236,6 @@
 			dojo.event.connect(rootNode, this._onEnter, this, "onMouseOver");
 			dojo.event.connect(rootNode, this._onLeave, this, "onMouseOut");
 		}
-		dojo.event.connect(rootNode,"onclick", this, "onClick");
 	}
 }
 
@@ -746,17 +745,11 @@
 	this.fireMouseEvent("onDoubleClick",e);
 }
 
-xap.bridges.basic.AbstractWidgetBridge.prototype.onClick = function(e){
-	this.stopEvent(e);
-}
-
 xap.bridges.basic.AbstractWidgetBridge.prototype.onMouseDown = function(e){
 	if (!this._disabled){
 		this.addStyleState("MouseDown");
 		this.fireMouseEvent("onMouseDown",e);
 	}
-	
-	this.stopEvent(e);
 }
 
 xap.bridges.basic.AbstractWidgetBridge.prototype.onMouseUp = function(e){
@@ -767,8 +760,6 @@
 		this.removeStyleState("MouseDown");
 		this.fireMouseEvent("onMouseUp",e);
 	}
-	
-	this.stopEvent(e);
 }
 
 xap.bridges.basic.AbstractWidgetBridge.prototype.onMouseOver= function(e){



Mime
View raw message