incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtu...@apache.org
Subject svn commit: r482865 - /incubator/xap/trunk/src/xap/bridges/xap/LinkBridge.js
Date Wed, 06 Dec 2006 01:59:13 GMT
Author: mturyn
Date: Tue Dec  5 17:59:11 2006
New Revision: 482865

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

Some cleanup

Modified:
    incubator/xap/trunk/src/xap/bridges/xap/LinkBridge.js

Modified: incubator/xap/trunk/src/xap/bridges/xap/LinkBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/xap/LinkBridge.js?view=diff&rev=482865&r1=482864&r2=482865
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/xap/LinkBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/xap/LinkBridge.js Tue Dec  5 17:59:11 2006
@@ -30,16 +30,9 @@
 	this.setPeer(new xap.widgets.Link());
 	this.getPeer().init();
 	dojo.event.connect(this.getRootDomNode(), "onclick", this, "onclick");
-	dojo.event.connectBefore(this.getPeer(), "_onmouseup", this, "onMouseUp");			
+	dojo.event.connectBefore(this.getPeer(), "_onmouseup", this, "onMouseUp");
 }
 
-xap.bridges.xap.LinkBridge.prototype.onclick = function() {
-	if (this.getPeer().enabled) {
-		this.fireEvent("onCommand");
-	}
-}
-
-
-xap.bridges.xap.LinkBridge.prototype.getNewAllowedAttributes = function() {
-	return ["mouseOverImage", "pressedImage"];
+xap.bridges.xap.LinkBridge.prototype.getNewAllowedAttributes = function() {	
+	return [""];
 }



Mime
View raw message