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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Jun 18 01:16:08 PDT 2012


Author: verenadiewald
Date: 2012-06-18 01:16:07 -0700 (Mon, 18 Jun 2012)
New Revision: 8380

Modified:
   trunk/mapbender/http/javascripts/mod_featureInfoTunnel.php
Log:
remove old result dialog before opening new one

Modified: trunk/mapbender/http/javascripts/mod_featureInfoTunnel.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_featureInfoTunnel.php	2012-06-18 08:13:47 UTC (rev 8379)
+++ trunk/mapbender/http/javascripts/mod_featureInfoTunnel.php	2012-06-18 08:16:07 UTC (rev 8380)
@@ -131,7 +131,9 @@
 					else {
 						var dialogPosition = featureInfoPopupPosition;
 					}
+					
 					$(".fiResultFrame").remove();
+					$(".featureInfoTunnel-dialog").remove();
           
 					mb_ajax_post(path, {'url':currentRequest},function(js_code,status){
 						if(js_code){
@@ -140,6 +142,7 @@
 									bgiframe: true,
 									autoOpen: true,
 									title: '<?php echo _mb("Information");?>',
+									dialogClass: "featureInfoTunnel-dialog",
 									modal: false,
 									width:parseInt(featureInfoPopupWidth, 10),
 									height:parseInt(featureInfoPopupHeight, 10),



More information about the Mapbender_commits mailing list