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/21 03:04:40 UTC

svn commit: r433129 - /incubator/xap/trunk/src/xap/bridges/dojo/DojoGenericWidgetBridge.js

Author: mturyn
Date: Sun Aug 20 20:04:39 2006
New Revision: 433129

URL: http://svn.apache.org/viewvc?rev=433129&view=rev
Log:
Removed onSelectEvent(), not used; gave it a non-default "onCommandEvent" event---default is "onClick", peer doesn't like that, so it's now "onMouseDown".

Modified:
    incubator/xap/trunk/src/xap/bridges/dojo/DojoGenericWidgetBridge.js

Modified: incubator/xap/trunk/src/xap/bridges/dojo/DojoGenericWidgetBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/dojo/DojoGenericWidgetBridge.js?rev=433129&r1=433128&r2=433129&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/dojo/DojoGenericWidgetBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/dojo/DojoGenericWidgetBridge.js Sun Aug 20 20:04:39 2006
@@ -64,3 +64,13 @@
 xap.bridges.dojo.DojoGenericWidgetBridge.prototype.allowsInitialProperty = function(prop){
 	return true ;
 }
+
+/**
+ * @return the peer event to connect to our own <code>_onCommandEvent</code>,
+ * which is just a wrapper for <code>this.fireEvent("onCommand")</code>.
+**/ 
+xap.bridges.dojo.DojoGenericWidgetBridge.prototype.getPeerOnCommandEvent = function(){
+	return "onMouseDown" ;
+}
+
+