[fusion-commits] r1447 - trunk/widgets
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Wed Aug 6 09:28:00 EDT 2008
Author: madair
Date: 2008-08-06 09:28:00 -0400 (Wed, 06 Aug 2008)
New Revision: 1447
Modified:
trunk/widgets/Maptip.js
Log:
closes #95: modify regex for replacement
Modified: trunk/widgets/Maptip.js
===================================================================
--- trunk/widgets/Maptip.js 2008-08-01 19:22:16 UTC (rev 1446)
+++ trunk/widgets/Maptip.js 2008-08-06 13:28:00 UTC (rev 1447)
@@ -109,7 +109,7 @@
},
mouseOut: function(e) {
- console.log('maptip mouseOut:'+this.nTimer+':'+this.nHideTimer);
+ //console.log('maptip mouseOut:'+this.nTimer+':'+this.nHideTimer);
if (this.nTimer) {
window.clearTimeout(this.nTimer);
if (!this.nHideTimer) {
@@ -194,7 +194,7 @@
this.bIsVisible = true;
var t = tooltip['FeatureInformation']['Tooltip'];
if (t) {
- contentDiv.innerHTML = t[0].replace(/\\n/g, "<br>");
+ contentDiv.innerHTML = t[0].replace(/\n/g, "<br>");
empty = false;
}
var h = tooltip['FeatureInformation']['Hyperlink'];
More information about the fusion-commits
mailing list