[fusion-commits] r1429 - trunk/widgets
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Mon Jun 30 16:27:02 EDT 2008
Author: madair
Date: 2008-06-30 16:27:02 -0400 (Mon, 30 Jun 2008)
New Revision: 1429
Modified:
trunk/widgets/Maptip.js
Log:
closes #84: set nHideTimer to null when new request is issued
Modified: trunk/widgets/Maptip.js
===================================================================
--- trunk/widgets/Maptip.js 2008-06-26 19:48:40 UTC (rev 1428)
+++ trunk/widgets/Maptip.js 2008-06-30 20:27:02 UTC (rev 1429)
@@ -109,7 +109,7 @@
},
mouseOut: function(e) {
- //console.log('maptip mouseOut');
+ console.log('maptip mouseOut:'+this.nTimer+':'+this.nHideTimer);
if (this.nTimer) {
window.clearTimeout(this.nTimer);
if (!this.nHideTimer) {
@@ -177,6 +177,10 @@
var o;
eval("o="+xhr.responseText);
this._display(o);
+ if (this.nHideTimer) {
+ window.clearTimeout(this.nHideTimer);
+ this.nHideTimer = null;
+ }
},
_display: function(tooltip) {
More information about the fusion-commits
mailing list