[Mapbender-commits] r5090 - in trunk/mapbender/http: php plugins

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Dec 9 04:33:08 EST 2009


Author: kmq
Date: 2009-12-09 04:32:58 -0500 (Wed, 09 Dec 2009)
New Revision: 5090

Modified:
   trunk/mapbender/http/php/mod_echo.php
   trunk/mapbender/http/plugins/mb_resultList_SaveAsFile.js
Log:
return correct path a hide iframe

Modified: trunk/mapbender/http/php/mod_echo.php
===================================================================
--- trunk/mapbender/http/php/mod_echo.php	2009-12-08 16:53:48 UTC (rev 5089)
+++ trunk/mapbender/http/php/mod_echo.php	2009-12-09 09:32:58 UTC (rev 5090)
@@ -12,7 +12,7 @@
 			case "createFile":
 				$data = $ajaxResponse->getParameter('data');
 				$fileId = createFile($data);
-				$url = "../../http/tmp/$fileId";
+				$url = "../tmp/$fileId";
 				if ($fileid === false){
 					throw new Exception("could not create file");
 				}

Modified: trunk/mapbender/http/plugins/mb_resultList_SaveAsFile.js
===================================================================
--- trunk/mapbender/http/plugins/mb_resultList_SaveAsFile.js	2009-12-08 16:53:48 UTC (rev 5089)
+++ trunk/mapbender/http/plugins/mb_resultList_SaveAsFile.js	2009-12-09 09:32:58 UTC (rev 5090)
@@ -9,6 +9,7 @@
 			if(success){
 				$('#resultdownloader').remove();
 				var hiddenIframe = $(document.body).append('<iframe id="resultdownloader"></iframe>');
+				$('#resultdownloader').css('display','none');
 				$('#resultdownloader').attr('src',result.url);
 			}else{
 



More information about the Mapbender_commits mailing list