[fusion-commits] r1746 - branches/fusion2-mg21/widgets

svn_fusion at osgeo.org svn_fusion at osgeo.org
Fri Jan 23 16:47:12 EST 2009


Author: chrisclaydon
Date: 2009-01-23 16:47:12 -0500 (Fri, 23 Jan 2009)
New Revision: 1746

Modified:
   branches/fusion2-mg21/widgets/SaveMap.js
Log:
re #193 - Fix handling of Scale = 0

Modified: branches/fusion2-mg21/widgets/SaveMap.js
===================================================================
--- branches/fusion2-mg21/widgets/SaveMap.js	2009-01-23 20:43:12 UTC (rev 1745)
+++ branches/fusion2-mg21/widgets/SaveMap.js	2009-01-23 21:47:12 UTC (rev 1746)
@@ -117,7 +117,7 @@
                                 layout.Margins[0].Right[0],
                                 layout.Margins[0].Bottom[0]];
             };
-            if (layout.Scale) {
+            if (layout.Scale && layout.Scale != '0') {
                 this.printScale = layout.Scale[0];
             };
 



More information about the fusion-commits mailing list