[Mapbender-commits] r2276 - branches/2.5/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Thu Mar 20 07:09:34 EDT 2008
Author: christoph
Date: 2008-03-20 07:09:33 -0400 (Thu, 20 Mar 2008)
New Revision: 2276
Modified:
branches/2.5/http/javascripts/mod_wfs_gazetteer_client.php
Log:
global_resultHighlight.paint();
may not be executed if event != "over","out","click"
Modified: branches/2.5/http/javascripts/mod_wfs_gazetteer_client.php
===================================================================
--- branches/2.5/http/javascripts/mod_wfs_gazetteer_client.php 2008-03-20 11:01:25 UTC (rev 2275)
+++ branches/2.5/http/javascripts/mod_wfs_gazetteer_client.php 2008-03-20 11:09:33 UTC (rev 2276)
@@ -441,9 +441,11 @@
}
if (event == "over") {
global_resultHighlight.add(currentGeom, cw_fillcolor);
+ global_resultHighlight.paint();
}
else if (event == "out"){
global_resultHighlight.del(currentGeom, cw_fillcolor);
+ global_resultHighlight.paint();
}
else if (event == "click"){
global_resultHighlight.del(currentGeom, cw_fillcolor);
@@ -455,8 +457,8 @@
parent.mb_calculateExtent(targetArray[0], bbox[0].x, bbox[0].y, bbox[1].x, bbox[1].y);
parent.zoom(targetArray[0], 'true', 1.0);
global_resultHighlight.add(currentGeom, cw_fillcolor);
+ global_resultHighlight.paint();
}
- global_resultHighlight.paint();
return true;
}
</script>
More information about the Mapbender_commits
mailing list