[Mapbender-commits] r7829 - trunk/mapbender/http/plugins

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri May 27 04:15:56 EDT 2011


Author: arsgeografica
Date: 2011-05-27 01:15:56 -0700 (Fri, 27 May 2011)
New Revision: 7829

Modified:
   trunk/mapbender/http/plugins/mb_print.php
Log:


Modified: trunk/mapbender/http/plugins/mb_print.php
===================================================================
--- trunk/mapbender/http/plugins/mb_print.php	2011-05-23 08:09:55 UTC (rev 7828)
+++ trunk/mapbender/http/plugins/mb_print.php	2011-05-27 08:15:56 UTC (rev 7829)
@@ -463,8 +463,17 @@
 					myId + "_frame' width='0' height='0' style='display:none'></iframe>"
 				).appendTo("body");
 			}
-			if ($.browser.msie && $.browser.version === "6.0") {
-				var newWin = window.open(stripslashes(res.outputFileName), "<?php echo htmlentities(_mb("print document"), ENT_QUOTES, "UTF-8");?>", "width=200,height=200,left=700,top=200,resizable=yes");
+			if ($.browser.msie) {
+				$('<div></div>')
+					.attr('id', 'ie-print')
+					.append($('<p>Ihre PDF wurde erstellt und kann nun heruntergeladen werden:</p>'));
+					.append($('<a></a>')
+						.attr('href', stripslashes(res.outputFileName))
+						.click(function() { $(this).parent().dialog('destroy');	}))
+					.appendTo($('body')
+					.dialog({
+						title: 'PDF-Druck'
+					});
 			}
 			else {
 				window.frames[myId + "_frame"].location.href = 



More information about the Mapbender_commits mailing list