svn commit: r970 - trunk/mapbender/http/javascripts/mod_digitize_tab.php
christoph at osgeo.org
christoph at osgeo.org
Tue Dec 5 03:12:54 EST 2006
Author: christoph
Date: 2006-12-05 08:12:54+0000
New Revision: 970
Modified:
trunk/mapbender/http/javascripts/mod_digitize_tab.php
Log:
minor edit: removed wfs_conf reference in if statement
Modified: trunk/mapbender/http/javascripts/mod_digitize_tab.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/javascripts/mod_digitize_tab.php?view=diff&rev=970&p1=trunk/mapbender/http/javascripts/mod_digitize_tab.php&p2=trunk/mapbender/http/javascripts/mod_digitize_tab.php&r1=969&r2=970
==============================================================================
--- trunk/mapbender/http/javascripts/mod_digitize_tab.php (original)
+++ trunk/mapbender/http/javascripts/mod_digitize_tab.php 2006-12-05 08:12:54+0000
@@ -654,12 +654,7 @@
listOfGeom += "\t\t\t<div onmouseover='parent.mb_wfs_perform(\"over\",d.get("+i+"));' ";
listOfGeom += " onmouseout='parent.mb_wfs_perform(\"out\",d.get("+i+"))' ";
- if (d.get(i).wfs_conf != -1) {
- listOfGeom += " onclick='parent.mb_wfs_perform(\"click\",d.get("+i+"));' ";
- }
- else{
- listOfGeom += " onclick='parent.zoom(mod_digitize_target,\"true\", 1.0, " + d.get(i).getCenter().x + ", " + d.get(i).getCenter().y + ");' ";
- }
+ listOfGeom += " onclick='parent.mb_wfs_perform(\"click\",d.get("+i+"));' ";
var geomName = d.get(i).e.getElementValueByName("name");
if (!geomName) {geomName = "new";}
if (d.get(i).geomtype == geomTypePolygon) {geomName += " (polygon)";}
More information about the Mapbender_commits
mailing list