[fusion-commits] r2501 - sandbox/adsk/2.4j/widgets/Redline

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


Author: ChristineBao
Date: 2011-12-30 02:04:12 -0800 (Fri, 30 Dec 2011)
New Revision: 2501

Modified:
   sandbox/adsk/2.4j/widgets/Redline/newmarkup.php
Log:
Integrate fixing for ticket http://trac.osgeo.org/fusion/ticket/509
Locale is hard coded for Redline widget


Modified: sandbox/adsk/2.4j/widgets/Redline/newmarkup.php
===================================================================
--- sandbox/adsk/2.4j/widgets/Redline/newmarkup.php	2011-12-30 09:59:04 UTC (rev 2500)
+++ sandbox/adsk/2.4j/widgets/Redline/newmarkup.php	2011-12-30 10:04:12 UTC (rev 2501)
@@ -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