[mapguide-commits] r1051 - trunk/MgDev/Web/src/viewerfiles

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Tue Jan 16 06:35:09 EST 2007


Author: waltweltonlair
Date: 2007-01-16 06:35:09 -0500 (Tue, 16 Jan 2007)
New Revision: 1051

Modified:
   trunk/MgDev/Web/src/viewerfiles/bufferui.templ
Log:
After clicking on the background color swatch in the buffer UI, the TRANSPARENT
parameter is set to either "true" or "false".  This parameter, however, is
expected to be an integer by the buffer processing code.  The fix is to set
the parameter to the correct integer value in the OnColorPicked handler.

Modified: trunk/MgDev/Web/src/viewerfiles/bufferui.templ
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/bufferui.templ	2007-01-15 22:22:50 UTC (rev 1050)
+++ trunk/MgDev/Web/src/viewerfiles/bufferui.templ	2007-01-16 11:35:09 UTC (rev 1051)
@@ -197,7 +197,7 @@
             else if(pickClr == 2)
             {
                 fbcolor = clr;
-                transparent = trans;
+                transparent = trans? 1 : 0;
             }
             UpdateColors();
         }



More information about the mapguide-commits mailing list