[mapguide-commits] r6572 - in branches/2.4/MgDev/Web/src:
mapviewerphp viewerfiles
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Thu Apr 12 07:57:47 EDT 2012
Author: jng
Date: 2012-04-12 04:57:47 -0700 (Thu, 12 Apr 2012)
New Revision: 6572
Modified:
branches/2.4/MgDev/Web/src/mapviewerphp/quickplotpanel.php
branches/2.4/MgDev/Web/src/viewerfiles/quickplotpanel.js
Log:
#1982: Fix broken quickplot in AJAX viewer.
Modified: branches/2.4/MgDev/Web/src/mapviewerphp/quickplotpanel.php
===================================================================
--- branches/2.4/MgDev/Web/src/mapviewerphp/quickplotpanel.php 2012-04-12 11:57:37 UTC (rev 6571)
+++ branches/2.4/MgDev/Web/src/mapviewerphp/quickplotpanel.php 2012-04-12 11:57:47 UTC (rev 6572)
@@ -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: branches/2.4/MgDev/Web/src/viewerfiles/quickplotpanel.js
===================================================================
--- branches/2.4/MgDev/Web/src/viewerfiles/quickplotpanel.js 2012-04-12 11:57:37 UTC (rev 6571)
+++ branches/2.4/MgDev/Web/src/viewerfiles/quickplotpanel.js 2012-04-12 11:57:47 UTC (rev 6572)
@@ -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