incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmarga...@apache.org
Subject svn commit: r522394 - /incubator/xap/trunk/codebase/src/xap/widgets/dojo/RichtextTooltip.js
Date Mon, 26 Mar 2007 01:31:35 GMT
Author: jmargaris
Date: Sun Mar 25 18:31:34 2007
New Revision: 522394

URL: http://svn.apache.org/viewvc?view=rev&rev=522394
Log:
removed duplicate super.postCreate and extraneous _onMouseOver

Modified:
    incubator/xap/trunk/codebase/src/xap/widgets/dojo/RichtextTooltip.js

Modified: incubator/xap/trunk/codebase/src/xap/widgets/dojo/RichtextTooltip.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/xap/widgets/dojo/RichtextTooltip.js?view=diff&rev=522394&r1=522393&r2=522394
==============================================================================
--- incubator/xap/trunk/codebase/src/xap/widgets/dojo/RichtextTooltip.js (original)
+++ incubator/xap/trunk/codebase/src/xap/widgets/dojo/RichtextTooltip.js Sun Mar 25 18:31:34
2007
@@ -78,28 +78,10 @@
 	this.postCreate = function(args, frag){
 		dojo.event.connect(this._connectNode, "onmouseover", this, "_onMouseOver");
 		dojo.widget.Tooltip.superclass.postCreate.call(this, args, frag);
-		dojo.widget.Tooltip.superclass.postCreate.call(this,args,frag);
 		// Give it a little border, inverse of the background colour:
 		this.domNode.style.border="1px solid rgb(10,10,35)" ;
 	}
 }
-
-
-
-
-
-		_onMouseOver: function(e){
-			this._mouse = {x: e.pageX, y: e.pageY};
-
-			// Start tracking mouse movements, so we know when to cancel timers or erase the tooltip
-			if(!this._tracking){
-				dojo.event.connect(document.documentElement, "onmousemove", this, "_onMouseMove");
-				this._tracking=true;
-			}
-
-			this._onHover(e);			
-		}
-
 
 
 dojo.inherits(xap.widgets.dojo.RichtextTooltip, dojo.widget.Tooltip);



Mime
View raw message