[Mapbender-commits] r5145 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Sat Dec 12 02:38:01 EST 2009
Author: christoph
Date: 2009-12-12 02:37:59 -0500 (Sat, 12 Dec 2009)
New Revision: 5145
Modified:
trunk/mapbender/http/javascripts/mod_wfs_gazetteer_client.php
Log:
Modified: trunk/mapbender/http/javascripts/mod_wfs_gazetteer_client.php
===================================================================
--- trunk/mapbender/http/javascripts/mod_wfs_gazetteer_client.php 2009-12-11 13:58:11 UTC (rev 5144)
+++ trunk/mapbender/http/javascripts/mod_wfs_gazetteer_client.php 2009-12-12 07:37:59 UTC (rev 5145)
@@ -212,11 +212,14 @@
// end of button management spatialRequest ///////////
parent.Mapbender.events.init.register(function () {
- initModWfsGazetteer();
+ try {
+ initModWfsGazetteer();
+ init_wfsSpatialRequest();
+ }
+ catch (exc) {
+
+ }
});
-parent.Mapbender.events.init.register(function () {
- init_wfsSpatialRequest();
-});
parent.Mapbender.events.localize.register(function() {
localizeGazetteer();
@@ -404,10 +407,15 @@
}
function removeChildNodes(node) {
- while (node.childNodes.length > 0) {
- var childNode = node.firstChild;
- node.removeChild(childNode);
+ try {
+ while (node.childNodes.length > 0) {
+ var childNode = node.firstChild;
+ node.removeChild(childNode);
+ }
}
+ catch (exc) {
+
+ }
}
/**
More information about the Mapbender_commits
mailing list