[Mapbender-commits] r8379 - branches/2.7/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Jun 18 01:13:47 PDT 2012


Author: verenadiewald
Date: 2012-06-18 01:13:47 -0700 (Mon, 18 Jun 2012)
New Revision: 8379

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

Modified: branches/2.7/http/javascripts/mod_featureInfoTunnel.php
===================================================================
--- branches/2.7/http/javascripts/mod_featureInfoTunnel.php	2012-06-14 14:42:33 UTC (rev 8378)
+++ branches/2.7/http/javascripts/mod_featureInfoTunnel.php	2012-06-18 08:13:47 UTC (rev 8379)
@@ -139,6 +139,7 @@
 						var dialogPosition = featureInfoPopupPosition;
 					}
 					$(".fiResultFrame").remove();
+					$(".featureInfoTunnel-dialog").remove();
           
 					mb_ajax_post(path, {'url':currentRequest},function(js_code,status){
 						if(js_code){
@@ -146,6 +147,7 @@
 								$("<div><iframe frameborder=0 class='fiResultFrame' id='featureInfo_"+ i + "' style='width:100%;height:100%;' src='" + path + "?url=" + encodeURIComponent(currentRequest) + "'></iframe></div>").dialog({
 									bgiframe: true,
 									autoOpen: true,
+									dialogClass: "featureInfoTunnel-dialog",
 									title: '<?php echo _mb("Information");?>',
 									modal: false,
 									width:parseInt(featureInfoPopupWidth, 10),



More information about the Mapbender_commits mailing list