[Mapbender-commits] r4610 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Sep 10 11:53:11 EDT 2009
Author: christoph
Date: 2009-09-10 11:53:10 -0400 (Thu, 10 Sep 2009)
New Revision: 4610
Modified:
trunk/mapbender/http/javascripts/mod_digitize_tab.php
Log:
Modified: trunk/mapbender/http/javascripts/mod_digitize_tab.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_digitize_tab.php 2009-09-10 14:34:46 UTC (rev 4609)
+++ trunk/mapbender/http/javascripts/mod_digitize_tab.php 2009-09-10 15:53:10 UTC (rev 4610)
@@ -188,10 +188,9 @@
return false;
}
function getMousePosition(e) {
- var ind = parent.getMapObjIndexByName("<?php echo $e_target; ?>");
- currentPos = parent.mb_mapObj[ind].getMousePosition(e);
-
- return currentPos;
+ var map = parent.getMapObjByName(mod_digitize_target);
+
+ return map.getMousePosition(e);
}
More information about the Mapbender_commits
mailing list