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

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Fri Aug 2 05:46:42 PDT 2013


Author: jng
Date: 2013-08-02 05:46:41 -0700 (Fri, 02 Aug 2013)
New Revision: 7723

Modified:
   trunk/MgDev/Web/src/viewerfiles/ajaxmappane.templ
Log:
#2267: Port to trunk

Modified: trunk/MgDev/Web/src/viewerfiles/ajaxmappane.templ
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/ajaxmappane.templ	2013-08-02 12:41:41 UTC (rev 7722)
+++ trunk/MgDev/Web/src/viewerfiles/ajaxmappane.templ	2013-08-02 12:46:41 UTC (rev 7723)
@@ -901,7 +901,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;
@@ -1302,7 +1303,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