[Mapbender-commits] r7172 - trunk/mapbender/http/html

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Wed Dec 1 04:40:44 EST 2010


Author: christoph
Date: 2010-12-01 01:40:44 -0800 (Wed, 01 Dec 2010)
New Revision: 7172

Modified:
   trunk/mapbender/http/html/mod_treefolderPlain.php
Log:
registered reload with new map event afterMoveWms. The tree is redrawn when the layer order is changed

Modified: trunk/mapbender/http/html/mod_treefolderPlain.php
===================================================================
--- trunk/mapbender/http/html/mod_treefolderPlain.php	2010-12-01 09:28:43 UTC (rev 7171)
+++ trunk/mapbender/http/html/mod_treefolderPlain.php	2010-12-01 09:40:44 UTC (rev 7172)
@@ -219,6 +219,9 @@
 //parent.eventMapRequestFailed.register(function(t){imgerror(t)});
 
 eventAfterLoadWMS.register(reloadTree);
+Mapbender.events.init.register(function () {
+	$("#" + mod_treeGDE_map).mapbender().events.afterMoveWms.register(reloadTree);
+});
 eventInit.register(loadTree);
 if(showstatus=='true'||alerterror=='true'){
 	eventAfterMapRequest.register(init_mapcheck);



More information about the Mapbender_commits mailing list