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

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Fri Dec 10 00:27:19 EST 2010


Author: hubu
Date: 2010-12-09 21:27:19 -0800 (Thu, 09 Dec 2010)
New Revision: 5460

Modified:
   trunk/MgDev/Web/src/viewerfiles/ajaxmappane.templ
Log:
fix ticket: https://trac.osgeo.org/mapguide/ticket/1569


Modified: trunk/MgDev/Web/src/viewerfiles/ajaxmappane.templ
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/ajaxmappane.templ	2010-12-10 02:56:39 UTC (rev 5459)
+++ trunk/MgDev/Web/src/viewerfiles/ajaxmappane.templ	2010-12-10 05:27:19 UTC (rev 5460)
@@ -4202,10 +4202,10 @@
 function SetPropertyPaneToolbarVisibility(visible)
 {
     var tb = document.getElementById("PropertyPaneToolbar");
-    tb.style.display = visible ? "block" : "none";
+
     //in IE9, the display is not set as expected
-    //set again, as a workaround
-    tb.style.display = visible ? "block" : "none";
+    //
+    tb.style.display = (visible == true) ? "block" : "none";
 }
 
 function OnResizeToolbar(e)



More information about the mapguide-commits mailing list