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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Thu Jul 16 09:50:26 EDT 2009


Author: christoph
Date: 2009-07-16 09:50:26 -0400 (Thu, 16 Jul 2009)
New Revision: 4373

Modified:
   trunk/mapbender/http/javascripts/ovnf.php
Log:
bug: extended the wrong object, so private vars were lost

Modified: trunk/mapbender/http/javascripts/ovnf.php
===================================================================
--- trunk/mapbender/http/javascripts/ovnf.php	2009-07-16 13:49:47 UTC (rev 4372)
+++ trunk/mapbender/http/javascripts/ovnf.php	2009-07-16 13:50:26 UTC (rev 4373)
@@ -27,13 +27,13 @@
 }
 parent.eventInitMap.register(function () {
 	
-	$.extend(Mapbender.modules[options.id], new Mapbender.Map(
+	Mapbender.modules[options.id] = $.extend(new Mapbender.Map(
 		'', 
 		options.id, 
 		options.width, 
 		options.height, 
 		options.overview_wms
-	)); 
+	), Mapbender.modules[options.id]); 
 	var map = Mapbender.modules[options.id];
 	mb_mapObj.push(map);
 			



More information about the Mapbender_commits mailing list