incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtu...@apache.org
Subject svn commit: r433128 - /incubator/xap/trunk/src/xap/bridges/dojo/DojoFloatingPaneBridge.js
Date Mon, 21 Aug 2006 03:00:57 GMT
Author: mturyn
Date: Sun Aug 20 20:00:57 2006
New Revision: 433128

URL: http://svn.apache.org/viewvc?rev=433128&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/DojoFloatingPaneBridge.js

Modified: incubator/xap/trunk/src/xap/bridges/dojo/DojoFloatingPaneBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/dojo/DojoFloatingPaneBridge.js?rev=433128&r1=433127&r2=433128&view=diff
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/dojo/DojoFloatingPaneBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/dojo/DojoFloatingPaneBridge.js Sun Aug 20 20:00:57
2006
@@ -68,13 +68,7 @@
 
 
 
-/**
- * The callback for the selection listener on DojoFloatingPane.
- * When this is called we fire an "onCommand" event.
- */
-xap.bridges.dojo.DojoFloatingPaneBridge.prototype._onSelectEvent = function( event ) {  
-	this.fireEvent("onCommand");
-}
+
 
 
 /**
@@ -157,6 +151,13 @@
 } 
 
 
+/**
+ * @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.DojoFloatingPaneBridge.prototype.getPeerOnCommandEvent = function(){
+	return "onMouseDown" ;
+}
 
 
 



Mime
View raw message