[fusion-commits] r2500 - trunk/widgets/Redline

svn_fusion at osgeo.org svn_fusion at osgeo.org
Fri Dec 30 04:59:04 EST 2011


Author: ChristineBao
Date: 2011-12-30 01:59:04 -0800 (Fri, 30 Dec 2011)
New Revision: 2500

Modified:
   trunk/widgets/Redline/newmarkup.php
Log:
Fix ticket http://trac.osgeo.org/fusion/ticket/509
Locale is hard coded for Redline widget


Modified: trunk/widgets/Redline/newmarkup.php
===================================================================
--- trunk/widgets/Redline/newmarkup.php	2011-12-29 09:14:18 UTC (rev 2499)
+++ trunk/widgets/Redline/newmarkup.php	2011-12-30 09:59:04 UTC (rev 2500)
@@ -145,7 +145,7 @@
                 return;
 				
             height = allowTransparency? 470: 445;
-            w = window.open("../../layers/MapGuide/php/ColorPicker.php?LOCALE=en&CLR=" + clr + "&ALLOWTRANS=" + (allowTransparency? "1":"0") + "&TRANS=" + (transparent.value == "true"? "1":"0"), "colorPicker", "toolbar=no,status=no,width=355,height=" + height);
+            w = window.open("../../layers/MapGuide/php/ColorPicker.php?LOCALE=<?=$locale?>&CLR=" + clr + "&ALLOWTRANS=" + (allowTransparency? "1":"0") + "&TRANS=" + (transparent.value == "true"? "1":"0"), "colorPicker", "toolbar=no,status=no,width=355,height=" + height);
             w.focus();
         }
 



More information about the fusion-commits mailing list