[mapguide-commits] r6789 - branches/2.4/MgDev/Web/src/viewerfiles

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Mon Jun 18 08:48:59 PDT 2012


Author: jng
Date: 2012-06-18 08:48:58 -0700 (Mon, 18 Jun 2012)
New Revision: 6789

Modified:
   branches/2.4/MgDev/Web/src/viewerfiles/ajaxmappane.templ
Log:
#1711: If legend and properties pane are not visible in the WebLayout, hide the vertical splitter otherwise the supposedly invisible left pane is still resizable. Patch by Crispin Hoult, tweaked by me.

Modified: branches/2.4/MgDev/Web/src/viewerfiles/ajaxmappane.templ
===================================================================
--- branches/2.4/MgDev/Web/src/viewerfiles/ajaxmappane.templ	2012-06-18 14:59:06 UTC (rev 6788)
+++ branches/2.4/MgDev/Web/src/viewerfiles/ajaxmappane.templ	2012-06-18 15:48:58 UTC (rev 6789)
@@ -571,6 +571,11 @@
     moveTimer = 0;
 
     cancelTgt = document.getElementById("KeyTarget");
+    if (!isLegend && !isProperties) {
+        try {
+            document.getElementById("tbSplitter").style.display = 'none';
+        } catch (e) { }
+    }
 
     initTimer = setInterval(delayedInit, 200);
     



More information about the mapguide-commits mailing list