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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Feb 1 06:06:22 EST 2010


Author: christoph
Date: 2010-02-01 06:06:21 -0500 (Mon, 01 Feb 2010)
New Revision: 5473

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


Modified: trunk/mapbender/http/plugins/mb_print.js
===================================================================
--- trunk/mapbender/http/plugins/mb_print.js	2010-02-01 09:20:27 UTC (rev 5472)
+++ trunk/mapbender/http/plugins/mb_print.js	2010-02-01 11:06:21 UTC (rev 5473)
@@ -57,6 +57,14 @@
 
 /* the array of json print config files */
 
+if (typeof mbPrintConfig === "object") {
+	mbPrintConfigFilenames = [];
+	mbPrintConfigTitles = [];
+	for (var i in mbPrintConfig) {
+		mbPrintConfigFilenames.push(mbPrintConfig[i]);
+		mbPrintConfigTitles.push(i);
+	}
+}
 if (typeof mbPrintConfigFilenames === "undefined") {
 	mbPrintConfigFilenames = ["mapbender_template.json"];
 }



More information about the Mapbender_commits mailing list