[Mapbender-commits] r6138 - trunk/mapbender/http/plugins
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon May 10 06:01:28 EDT 2010
Author: kmq
Date: 2010-05-10 06:01:27 -0400 (Mon, 10 May 2010)
New Revision: 6138
Modified:
trunk/mapbender/http/plugins/mb_loadkmlgeorss.js
Log:
give georss/kml popup a maximum width and height
Modified: trunk/mapbender/http/plugins/mb_loadkmlgeorss.js
===================================================================
--- trunk/mapbender/http/plugins/mb_loadkmlgeorss.js 2010-05-10 09:47:38 UTC (rev 6137)
+++ trunk/mapbender/http/plugins/mb_loadkmlgeorss.js 2010-05-10 10:01:27 UTC (rev 6138)
@@ -102,7 +102,9 @@
}
$row.click((function(description){
return function(){
- $("<div>"+ description + "</div>").dialog({autoOpen: true, buttons: { "OK": function(){ $(this).dialog("close");$(this).dialog("destroy"); } } } );
+ $('<div><div style="max-height:400px">'+ description + '</div></div>').dialog({autoOpen: true,
+ buttons: { "OK": function(){ $(this).dialog("close");$(this).dialog("destroy"); } }
+ } );
}
})(data.features[i].properties.description));
$("tbody",$table).append($row);
More information about the Mapbender_commits
mailing list