[Mapbender-commits] r4734 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Sat Sep 26 14:20:05 EDT 2009
Author: christoph
Date: 2009-09-26 14:20:05 -0400 (Sat, 26 Sep 2009)
New Revision: 4734
Modified:
trunk/mapbender/http/javascripts/map_obj.js
Log:
Modified: trunk/mapbender/http/javascripts/map_obj.js
===================================================================
--- trunk/mapbender/http/javascripts/map_obj.js 2009-09-26 18:15:42 UTC (rev 4733)
+++ trunk/mapbender/http/javascripts/map_obj.js 2009-09-26 18:20:05 UTC (rev 4734)
@@ -735,7 +735,9 @@
//loop through all wms to get the FeatureInfoRequests
for (var i = 0; i < this.wms.length; i++) {
var ignoreThisWms = false;
- if (ignoreWms.constructor === Array) {
+ if (typeof ignoreWms !== "undefined"
+ && ignoreWms.constructor === Array) {
+
for (var j = 0; j < ignoreWms.length; j++) {
if (ignoreWms[j] == this.wms[i].wms_id) {
ignoreThisWms = true;
More information about the Mapbender_commits
mailing list