[Mapbender-commits] r8489 - branches/2.7/http/plugins

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Sep 18 07:50:50 PDT 2012


Author: verenadiewald
Date: 2012-09-18 07:50:49 -0700 (Tue, 18 Sep 2012)
New Revision: 8489

Modified:
   branches/2.7/http/plugins/mb_handleStartUpWmsParams.php
Log:
use event eventAfterLoadWMS instead of afterInit for wmc loading synchronization

Modified: branches/2.7/http/plugins/mb_handleStartUpWmsParams.php
===================================================================
--- branches/2.7/http/plugins/mb_handleStartUpWmsParams.php	2012-09-17 12:24:08 UTC (rev 8488)
+++ branches/2.7/http/plugins/mb_handleStartUpWmsParams.php	2012-09-18 14:50:49 UTC (rev 8489)
@@ -112,7 +112,7 @@
 }
 
 // set queryability and visibility
-Mapbender.events.afterInit.register(function () {
+eventAfterLoadWMS.register(function () {
 	if(apiVisibleLayers != '' || apiQueryLayers != '' || 
 		apiVisibleLayersRegExpr != '' || apiQueryLayersRegExpr != '' ||
 		apiDisableLayers != '' || apiDisableQueryLayers != '' || 



More information about the Mapbender_commits mailing list