[Mapbender-commits] r6599 - trunk/mapbender/http/plugins
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Jul 13 10:27:03 EDT 2010
Author: kmq
Date: 2010-07-13 14:27:03 +0000 (Tue, 13 Jul 2010)
New Revision: 6599
Modified:
trunk/mapbender/http/plugins/mb_loadkmlgeorss.js
Log:
fix for IE
Modified: trunk/mapbender/http/plugins/mb_loadkmlgeorss.js
===================================================================
--- trunk/mapbender/http/plugins/mb_loadkmlgeorss.js 2010-07-13 13:33:55 UTC (rev 6598)
+++ trunk/mapbender/http/plugins/mb_loadkmlgeorss.js 2010-07-13 14:27:03 UTC (rev 6599)
@@ -140,7 +140,13 @@
g.e.setElement("Mapbender:icon","http://satan:8080/trunk/http/img/marker/red.png");
title = g.e.getElementValueByName("title");
name = g.e.getElementValueByName("name");
- title = name != false ? name : title;
+ if(typeof(name) == "string"){
+ title = name != "false" ? name : title;
+ }else{
+ //sane browsers go here
+ title = name != false ? name : title;
+ }
+
description = g.e.getElementValueByName("description");
$row = $("<tr><td>"+ title +"</td></tr>");
$row.css("cursor","pointer");
More information about the Mapbender_commits
mailing list