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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Mar 2 09:19:31 EST 2011


Author: arsgeografica
Date: 2011-03-02 06:19:31 -0800 (Wed, 02 Mar 2011)
New Revision: 7668

Modified:
   trunk/mapbender/http/javascripts/mod_resize_mapsize.js
Log:
mod_resize_mapsize.js used the deprecated event eventInit and failed. Changed to Mapbender.events.afterInit.

Modified: trunk/mapbender/http/javascripts/mod_resize_mapsize.js
===================================================================
--- trunk/mapbender/http/javascripts/mod_resize_mapsize.js	2011-03-02 13:40:15 UTC (rev 7667)
+++ trunk/mapbender/http/javascripts/mod_resize_mapsize.js	2011-03-02 14:19:31 UTC (rev 7668)
@@ -143,8 +143,8 @@
 }
 
 if (resize_option == 'auto'){
-	eventInit.register(function() {
-		init(true);
+	Mapbender.events.afterInit.register(function() {
+		init(false);
 	});
 }
 



More information about the Mapbender_commits mailing list