[mapguide-commits] r1106 - trunk/MgDev/Web/src/viewerfiles
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Mon Feb 12 16:17:49 EST 2007
Author: chrisclaydon
Date: 2007-02-12 16:17:49 -0500 (Mon, 12 Feb 2007)
New Revision: 1106
Modified:
trunk/MgDev/Web/src/viewerfiles/ajaxmappane.templ
trunk/MgDev/Web/src/viewerfiles/dwfmappane.templ
Log:
Update viewer template files with instructions on how to implement double-click handlers
Modified: trunk/MgDev/Web/src/viewerfiles/ajaxmappane.templ
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/ajaxmappane.templ 2007-02-12 06:35:30 UTC (rev 1105)
+++ trunk/MgDev/Web/src/viewerfiles/ajaxmappane.templ 2007-02-12 21:17:49 UTC (rev 1106)
@@ -727,8 +727,10 @@
function OnDblClick(e)
{
- // Implement your own double-click handler here
- // Call e.stopPropagation() if the event has been handled
+ // Override this method in an external script to implement
+ // your own double-click handler.
+ // e.g. mapFrame.OnDblClick = MyOnDblClick
+ // where MyOnDblClick() is a function in your script.
}
function OnMouseDown(e)
Modified: trunk/MgDev/Web/src/viewerfiles/dwfmappane.templ
===================================================================
--- trunk/MgDev/Web/src/viewerfiles/dwfmappane.templ 2007-02-12 06:35:30 UTC (rev 1105)
+++ trunk/MgDev/Web/src/viewerfiles/dwfmappane.templ 2007-02-12 21:17:49 UTC (rev 1106)
@@ -488,8 +488,10 @@
function OnDblClick(x, y)
{
- // Implement your own double-click handler here
- // Return true if the event has been handled
+ // Override this method in an external script to implement
+ // your own double-click handler.
+ // e.g. mapFrame.OnDblClick = MyOnDblClick
+ // where MyOnDblClick() is a function in your script
return false;
}
More information about the mapguide-commits
mailing list