[Mapbender-commits] r5033 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Nov 25 04:47:41 EST 2009
Author: christoph
Date: 2009-11-25 04:47:29 -0500 (Wed, 25 Nov 2009)
New Revision: 5033
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-11-24 18:57:47 UTC (rev 5032)
+++ trunk/mapbender/http/javascripts/map_obj.js 2009-11-25 09:47:29 UTC (rev 5033)
@@ -924,7 +924,12 @@
};
this.setSingleMapRequest = function(wms_id){
- this.setMapRequest([wms_id]);
+ if (typeof wms_id === "object") {
+ this.setMapRequest(wms_id);
+ }
+ else {
+ this.setMapRequest([wms_id]);
+ }
};
this.mb_setFutureObj = function(mod_back_cnt){
More information about the Mapbender_commits
mailing list