[Mapbender-commits] r5288 - trunk/mapbender/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Jan 6 04:25:58 EST 2010


Author: kmq
Date: 2010-01-06 04:25:57 -0500 (Wed, 06 Jan 2010)
New Revision: 5288

Modified:
   trunk/mapbender/http/javascripts/mod_ResultList.js
Log:
clear infopopups when new search starts

Modified: trunk/mapbender/http/javascripts/mod_ResultList.js
===================================================================
--- trunk/mapbender/http/javascripts/mod_ResultList.js	2010-01-05 17:31:34 UTC (rev 5287)
+++ trunk/mapbender/http/javascripts/mod_ResultList.js	2010-01-06 09:25:57 UTC (rev 5288)
@@ -133,6 +133,8 @@
 		}else{
 			$('#'+options.id).css("display","block");
 		}
+	
+		$('.infoPopup').dialog('close');
 
 
 		var resultHighlight = new Highlight(
@@ -159,7 +161,7 @@
 				}
 				infoPopupHtml += "</table>";
 				
-				var infoPopup = $("<div> </div>");
+				var infoPopup = $('<div class="infoPopup"></div>');
 				infoPopup.append(infoPopupHtml);
 				
 				buttonList = $("<ul></ul>").css("list-style-type","none");



More information about the Mapbender_commits mailing list