[Mapbender-commits] r5252 - branches/2.6/http/html

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Jan 4 04:50:08 EST 2010


Author: christoph
Date: 2010-01-04 04:50:07 -0500 (Mon, 04 Jan 2010)
New Revision: 5252

Modified:
   branches/2.6/http/html/mod_treefolderPlain.php
Log:
http://trac.osgeo.org/mapbender/ticket/552

Modified: branches/2.6/http/html/mod_treefolderPlain.php
===================================================================
--- branches/2.6/http/html/mod_treefolderPlain.php	2009-12-23 14:16:26 UTC (rev 5251)
+++ branches/2.6/http/html/mod_treefolderPlain.php	2010-01-04 09:50:07 UTC (rev 5252)
@@ -700,10 +700,12 @@
 						hidden++;
 				}
 				closeAll()
-				if(treeState!='')
+				if(treeState!='') {
 					setState(treeState);
-				else if(openfolder!='false')
-					setState(arrNodes[0][0]+"|"+ mb_mapObj[i].wms[ parseInt(openfolder)+hidden].wms_id);
+				}
+				else if(openfolder!='false') {
+					setState(arrNodes[0][0]+"|wms_"+ mb_mapObj[i].wms[ parseInt(openfolder)+hidden].wms_id);
+				}
 			}
 		}
 	}



More information about the Mapbender_commits mailing list