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

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Tue Oct 16 23:46:39 PDT 2012


Author: jng
Date: 2012-10-16 23:46:38 -0700 (Tue, 16 Oct 2012)
New Revision: 7124

Modified:
   trunk/MgDev/Web/src/viewerfiles/taskbar.templ
Log:
#2144: Fix task pane close button doing nothing when the Web Layout has no toolbar. Patch by Bruno Scott.

Modified: trunk/MgDev/Web/src/viewerfiles/taskbar.templ
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/taskbar.templ	2012-10-16 16:35:38 UTC (rev 7123)
+++ trunk/MgDev/Web/src/viewerfiles/taskbar.templ	2012-10-17 06:46:38 UTC (rev 7124)
@@ -159,7 +159,10 @@
     }
     
     var divRefresh = tbframe.document.getElementById("divRefresh");
-    divRefresh.className = "cssRefreshWithOpenBtn";
+    if(divRefresh)
+    {
+        divRefresh.className = "cssRefreshWithOpenBtn";
+    }
     
     parent.CloseTaskBar();
 }



More information about the mapguide-commits mailing list