Revision: 3622
http://vexi.svn.sourceforge.net/vexi/?rev=3622&view=rev
Author: clrg
Date: 2009-08-26 14:11:24 +0000 (Wed, 26 Aug 2009)
Log Message:
-----------
Check for surface in tooltipable Leave trap as Leave now gets fired on box
removal if MOUSEINSIDE
Modified Paths:
--------------
trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/tooltipable.t
Modified: trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/tooltipable.t
===================================================================
--- trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/tooltipable.t
2009-08-25 15:57:47 UTC (rev 3621)
+++ trunk/widgets/org.vexi.widgets/src/org/vexi/lib/role/tooltipable.t
2009-08-26 14:11:24 UTC (rev 3622)
@@ -11,8 +11,20 @@
</ui:box>
- static.enterWrite = function(v) { if (trapee.tooltip)
trapee.surface.tooltip.makeRequest(trapee); cascade = v; }
- static.leaveWrite = function(v) { if (trapee.tooltip)
trapee.surface.tooltip.dropRequest(trapee); cascade = v; }
+ static.enterWrite = function(v) {
+ if (trapee.tooltip) {
+ var s = trapee.surface;
+ if (s and s.tooltip) tooltip.makeRequest(trapee);
+ }
+ cascade = v;
+ }
+ static.leaveWrite = function(v) {
+ if (trapee.tooltip) {
+ var s = trapee.surface;
+ if (s and s.tooltip) tooltip.dropRequest(trapee);
+ }
+ cascade = v;
+ }
/** re-/un-register tooltip if it has changed */
static.tooltipUpdate = function(v) {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Vexi-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vexi-svn