[Mapbender-commits] r3518 - branches/mschulz_dev/http/print

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Feb 6 09:27:33 EST 2009


Author: mschulz
Date: 2009-02-06 09:27:32 -0500 (Fri, 06 Feb 2009)
New Revision: 3518

Modified:
   branches/mschulz_dev/http/print/mod_printPDF.php
Log:
i18n for print iframe

Modified: branches/mschulz_dev/http/print/mod_printPDF.php
===================================================================
--- branches/mschulz_dev/http/print/mod_printPDF.php	2009-02-05 09:46:20 UTC (rev 3517)
+++ branches/mschulz_dev/http/print/mod_printPDF.php	2009-02-06 14:27:32 UTC (rev 3518)
@@ -63,7 +63,19 @@
 	else if(type == 'iframe'){
 		var pt = parent;
 	}
-
+
+	function mod_printPDF_translate() {
+        self.location.reload();
+	}
+
+	pt.mb_registerL10nFunctions("window.frames['printPDF'].mod_printPDF_translate();");
+
+	/*
+	pt.eventLocalize.register(function () {
+        mod_printPDF_translate();
+	});
+	*/
+
 	function mod_legend_print(){
 		var mod_legend_target = target;
 		var ind = pt.getMapObjIndexByName(mod_legend_target);



More information about the Mapbender_commits mailing list