[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mapbender-commits
Subject:    [Mapbender-commits] r8379 - branches/2.7/http/javascripts
From:       svn_mapbender () osgeo ! org
Date:       2012-06-18 8:13:47
Message-ID: 20120618081348.8C444390313 () trac ! osgeo ! org
[Download RAW message or body]

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),

_______________________________________________
Mapbender_commits mailing list
Mapbender_commits@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapbender_commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic