[mapguide-commits] r6571 - in trunk/MgDev/Web/src: mapviewerphp viewerfiles

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Thu Apr 12 07:57:38 EDT 2012


Author: jng
Date: 2012-04-12 04:57:37 -0700 (Thu, 12 Apr 2012)
New Revision: 6571

Modified:
   trunk/MgDev/Web/src/mapviewerphp/quickplotpanel.php
   trunk/MgDev/Web/src/viewerfiles/quickplotpanel.js
Log:
#1982: Fix broken quickplot in AJAX viewer.

Modified: trunk/MgDev/Web/src/mapviewerphp/quickplotpanel.php
===================================================================
--- trunk/MgDev/Web/src/mapviewerphp/quickplotpanel.php	2012-04-11 16:45:51 UTC (rev 6570)
+++ trunk/MgDev/Web/src/mapviewerphp/quickplotpanel.php	2012-04-12 11:57:37 UTC (rev 6571)
@@ -24,7 +24,7 @@
     $targetType = 0;
     $mapName = "";
     $sessionId = "";
-    $us = "";
+    //$us = "";
 
     GetRequestParameters();
 
@@ -43,7 +43,7 @@
     $mapName = $params['MAPNAME'];
     $sessionId = $params['SESSION'];
     $targetType = $params['TARGETTYPE'];
-    $us = $params['US'];
+    //$us = $params['US'];
 }
 
 function GetRequestParameters()

Modified: trunk/MgDev/Web/src/viewerfiles/quickplotpanel.js
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/quickplotpanel.js	2012-04-11 16:45:51 UTC (rev 6570)
+++ trunk/MgDev/Web/src/viewerfiles/quickplotpanel.js	2012-04-12 11:57:37 UTC (rev 6571)
@@ -8,7 +8,7 @@
     else if (targetType == 2)
     {
         // In a new window
-        return opener.parent.parent.mapFrame;
+        return opener.GetMapFrame();
     }
     else if (targetType == 3)
     {



More information about the mapguide-commits mailing list