[Mapbender-commits] r4411 - trunk/mapbender/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Jul 21 10:54:03 EDT 2009


Author: marc
Date: 2009-07-21 10:54:03 -0400 (Tue, 21 Jul 2009)
New Revision: 4411

Modified:
   trunk/mapbender/http/javascripts/map_obj.js
Log:
(http://trac.osgeo.org/mapbender/ticket/492)==>remove the last ampersant of GetMap Req. 

Modified: trunk/mapbender/http/javascripts/map_obj.js
===================================================================
--- trunk/mapbender/http/javascripts/map_obj.js	2009-07-21 14:50:11 UTC (rev 4410)
+++ trunk/mapbender/http/javascripts/map_obj.js	2009-07-21 14:54:03 UTC (rev 4411)
@@ -652,6 +652,9 @@
 		if (currentWms.gui_wms_sldurl !== "") {
 			url += "&SLD=" + escape(currentWms.gui_wms_sldurl) + "&";
 		}
+		//remove the last ampersant (&) of the mapurl
+		url = url.substr(0, url.length-1);
+
 		return url;
 	}
 	



More information about the Mapbender_commits mailing list