[fusion-commits] r1796 - trunk/widgets
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Fri Feb 20 13:30:04 EST 2009
Author: pdeschamps
Date: 2009-02-20 13:30:04 -0500 (Fri, 20 Feb 2009)
New Revision: 1796
Modified:
trunk/widgets/Maptip.js
Log:
added latest version to svn
Modified: trunk/widgets/Maptip.js
===================================================================
--- trunk/widgets/Maptip.js 2009-02-20 18:24:31 UTC (rev 1795)
+++ trunk/widgets/Maptip.js 2009-02-20 18:30:04 UTC (rev 1796)
@@ -219,14 +219,13 @@
}
else
{
- if (t) {
- contentDiv.innerHTML = t.replace(/\n/g, "<br>");
+ if (tip) {
+ contentDiv.innerHTML = tip.replace(/\n/g, "<br>");
empty = false;
}
- if (h) {
-
- contentDiv.appendChild(linkDiv);
+ if (hyperlink) {
+ contentDiv.innerHTML = contentDiv.innerHTML + hyperlink.replace(/\n/g, "<br>");
empty = false;
}
}
More information about the fusion-commits
mailing list