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

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Fri Aug 2 05:47:20 PDT 2013


Author: jng
Date: 2013-08-02 05:47:19 -0700 (Fri, 02 Aug 2013)
New Revision: 7724

Modified:
   branches/2.4/MgDev/Web/src/viewerfiles/ajaxmappane.templ
Log:
#2267: Backport to 2.4

Modified: branches/2.4/MgDev/Web/src/viewerfiles/ajaxmappane.templ
===================================================================
--- branches/2.4/MgDev/Web/src/viewerfiles/ajaxmappane.templ	2013-08-02 12:46:41 UTC (rev 7723)
+++ branches/2.4/MgDev/Web/src/viewerfiles/ajaxmappane.templ	2013-08-02 12:47:19 UTC (rev 7724)
@@ -884,7 +884,8 @@
         hidePopup(tbMenu);
         hidePopup(ctxMenu);
         hidePopup(infoMenu);
-        parent.ForwardMouseDown(document, e);
+        if (typeof(parent.ForwardMouseDown) == 'function') //May not be ready
+            parent.ForwardMouseDown(document, e);
     }
     else
         return false;
@@ -1285,7 +1286,7 @@
             hlData.url = "";
             if(!IsInSliderSpace(x, y, true))
             {
-                if(!parent.InMeasure())
+                if(typeof(parent.InMeasure) == 'function' && !parent.InMeasure())
                 {
                     if(x >= 0 && haveTooltip)
                     {



More information about the mapguide-commits mailing list