[Mapbender-commits] r7737 - trunk/mapbender/http/plugins

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Apr 4 08:30:06 EDT 2011


Author: verenadiewald
Date: 2011-04-04 05:30:06 -0700 (Mon, 04 Apr 2011)
New Revision: 7737

Modified:
   trunk/mapbender/http/plugins/mb_zoomBar.js
Log:
http://trac.osgeo.org/mapbender/ticket/802

Modified: trunk/mapbender/http/plugins/mb_zoomBar.js
===================================================================
--- trunk/mapbender/http/plugins/mb_zoomBar.js	2011-04-04 12:03:25 UTC (rev 7736)
+++ trunk/mapbender/http/plugins/mb_zoomBar.js	2011-04-04 12:30:06 UTC (rev 7737)
@@ -116,8 +116,8 @@
 		}
 	});
 
-	// Set default scale on init
-	Mapbender.events.init.register(function () {
+	// Set default scale on afterInit
+	Mapbender.events.afterInit.register(function () {
 		$zoomBar.appendTo(options.$target);
 		
 		var initialScale = options.level[options.level.length-1-options.defaultLevel];



More information about the Mapbender_commits mailing list