[Mapbender-commits] r3314 - branches/beck_dev/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Mon Dec 15 07:27:09 EST 2008
Author: beck
Date: 2008-12-15 07:27:09 -0500 (Mon, 15 Dec 2008)
New Revision: 3314
Modified:
branches/beck_dev/http/javascripts/wms.js
Log:
Modified: branches/beck_dev/http/javascripts/wms.js
===================================================================
--- branches/beck_dev/http/javascripts/wms.js 2008-12-15 12:21:08 UTC (rev 3313)
+++ branches/beck_dev/http/javascripts/wms.js 2008-12-15 12:27:09 UTC (rev 3314)
@@ -270,7 +270,7 @@
//visibility of the wms
var wmsIsVisible = (this.gui_wms_visible > 0);
if(!wmsIsVisible){
- return false;
+ return [];
}
visibleLayers = [];
for(var i=0; i< this.objLayer.length; i++){
@@ -284,13 +284,14 @@
}
}
if(visibleLayers.length === 0){
- return false;
+ return [];
}
return visibleLayers;
}
catch (e) {
alert(e);
}
+ return [];
};
/**
@@ -773,4 +774,4 @@
wms_layer.prototype.setQueryable = function(queryable){
this.gui_layer_querylayer = parseInt(queryable, 10);
//console.log("setQueryable(%i) for Layer %s",queryable, this.layer_name);
-};
\ No newline at end of file
+};
More information about the Mapbender_commits
mailing list