[Mapbender-commits] r5474 - trunk/mapbender/http/plugins
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Feb 1 06:06:51 EST 2010
Author: christoph
Date: 2010-02-01 06:06:51 -0500 (Mon, 01 Feb 2010)
New Revision: 5474
Modified:
trunk/mapbender/http/plugins/mb_print.js
Log:
scale rounded to 10s not 100s
Modified: trunk/mapbender/http/plugins/mb_print.js
===================================================================
--- trunk/mapbender/http/plugins/mb_print.js 2010-02-01 11:06:21 UTC (rev 5473)
+++ trunk/mapbender/http/plugins/mb_print.js 2010-02-01 11:06:51 UTC (rev 5474)
@@ -155,7 +155,7 @@
afterChangeSize : function (obj) {
if (typeof(obj) == "object") {
if (obj.scale) {
- jqForm[0].scale.value = parseInt(obj.scale / 100, 10) * 100;
+ jqForm[0].scale.value = parseInt(obj.scale / 10, 10) * 10;
}
if (obj.coordinates) {
jqForm[0].coordinates.value = String(obj.coordinates);
More information about the Mapbender_commits
mailing list