[fusion-commits] r2790 - in trunk/widgets: Redline TaskPane

svn_fusion at osgeo.org svn_fusion at osgeo.org
Thu Sep 19 20:53:31 PDT 2013


Author: jng
Date: 2013-09-19 20:53:30 -0700 (Thu, 19 Sep 2013)
New Revision: 2790

Modified:
   trunk/widgets/Redline/editmarkupstyle.php
   trunk/widgets/TaskPane/TaskPane.css
Log:
Redline and Task Pane UI fixes.

Modified: trunk/widgets/Redline/editmarkupstyle.php
===================================================================
--- trunk/widgets/Redline/editmarkupstyle.php	2013-09-19 08:14:34 UTC (rev 2789)
+++ trunk/widgets/Redline/editmarkupstyle.php	2013-09-20 03:53:30 UTC (rev 2790)
@@ -129,7 +129,7 @@
         var lineColor = "<?= $style->LINE_COLOR ?>";
         var fillForeColor = "<?= $style->FILL_FORE_COLOR ?>";
         var fillBackColor = "<?= $style->FILL_BACK_COLOR ?>";
-        var fillBackTrans = <?= $style->FILL_BACK_TRANS ?>;
+        var fillBackTrans = "<?= $style->FILL_BACK_TRANS ?>";
         var borderColor = "<?= $style->BORDER_COLOR ?>";
         var labelForeColor = "<?= $style->LABEL_FORE_COLOR ?>";
         var labelBackColor = "<?= $style->LABEL_BACK_COLOR ?>";
@@ -156,8 +156,8 @@
            else
                 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);
+            height = allowTransparency? 480: 450;
+            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,scrollbars=no,status=no,width=355,height=" + height);
             w.focus();
         }
 

Modified: trunk/widgets/TaskPane/TaskPane.css
===================================================================
--- trunk/widgets/TaskPane/TaskPane.css	2013-09-19 08:14:34 UTC (rev 2789)
+++ trunk/widgets/TaskPane/TaskPane.css	2013-09-20 03:53:30 UTC (rev 2790)
@@ -10,6 +10,9 @@
 	overflow: hidden;
 }
 
+/* In case the above selector doesn't match */
+#TaskPane { overflow: hidden; }
+
 .taskPaneHelp h1 {
 	font-family: Arial, sans-serif;
 	font-size: 18px;



More information about the fusion-commits mailing list