[Mapbender-commits] r6947 - trunk/mapbender/http/plugins
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Sep 27 07:38:42 EDT 2010
Author: christoph
Date: 2010-09-27 11:38:42 +0000 (Mon, 27 Sep 2010)
New Revision: 6947
Modified:
trunk/mapbender/http/plugins/mb_print.js
Log:
http://trac.osgeo.org/mapbender/ticket/708
overview URL is also requested in hq
Modified: trunk/mapbender/http/plugins/mb_print.js
===================================================================
--- trunk/mapbender/http/plugins/mb_print.js 2010-09-27 11:25:23 UTC (rev 6946)
+++ trunk/mapbender/http/plugins/mb_print.js 2010-09-27 11:38:42 UTC (rev 6947)
@@ -383,8 +383,11 @@
//overview_url
var ind_overview = getMapObjIndexByName('overview');
if(mb_mapObj[ind_overview].mapURL != false ){
- f.overview_url.value = replaceMapFileForHighQualityPrint(mb_mapObj[ind_overview].mapURL);
+ var overviewUrl = mb_mapObj[ind_overview].mapURL;
+ overviewUrl = $.isArray(overviewUrl) ? overviewUrl[0] : overviewUrl;
+ f.overview_url.value = replaceMapFileForHighQualityPrint(overviewUrl);
+
updateFormField(formData, "overview_url", f.overview_url.value);
}
More information about the Mapbender_commits
mailing list