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

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Wed Apr 7 18:38:58 EDT 2010


Author: chrisclaydon
Date: 2010-04-07 18:38:57 -0400 (Wed, 07 Apr 2010)
New Revision: 4761

Modified:
   trunk/MgDev/Web/src/viewerfiles/legendui.templ
Log:
Fix #1309 - Chrome/Safari: Scrollbar in the legend panel of Basic web layout couldn't be dragged by mouse.

Modified: trunk/MgDev/Web/src/viewerfiles/legendui.templ
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/legendui.templ	2010-04-07 22:14:56 UTC (rev 4760)
+++ trunk/MgDev/Web/src/viewerfiles/legendui.templ	2010-04-07 22:38:57 UTC (rev 4761)
@@ -96,7 +96,7 @@
 function InitDocument()
 {
     document.onmousemove = OnMouseMove;
-    if(msie || safari)
+    if(msie || safari || chrome || opera)
         document.oncontextmenu = OnContextMenu;
     document.onclick = OnClick;
     document.onmousedown = OnMouseDown;
@@ -480,7 +480,6 @@
         hidePopup(ctxMenu)
         GetMainFrame().ForwardMouseDown(document, e);
     }
-    return false;
 }
 
 function OnMouseUp(e)



More information about the mapguide-commits mailing list