[mapguide-commits] r4762 - sandbox/adsk/2.2gp/Web/src/viewerfiles

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Wed Apr 7 18:42:33 EDT 2010


Author: chrisclaydon
Date: 2010-04-07 18:42:32 -0400 (Wed, 07 Apr 2010)
New Revision: 4762

Modified:
   sandbox/adsk/2.2gp/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: sandbox/adsk/2.2gp/Web/src/viewerfiles/legendui.templ
===================================================================
--- sandbox/adsk/2.2gp/Web/src/viewerfiles/legendui.templ	2010-04-07 22:38:57 UTC (rev 4761)
+++ sandbox/adsk/2.2gp/Web/src/viewerfiles/legendui.templ	2010-04-07 22:42:32 UTC (rev 4762)
@@ -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