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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Feb 11 07:36:07 EST 2011


Author: armin11
Date: 2011-02-11 04:36:07 -0800 (Fri, 11 Feb 2011)
New Revision: 7564

Modified:
   trunk/mapbender/http/html/mod_treefolderPlain.php
Log:
Change integer for elementVar to string, cause all other elementVars of treeGDE2 are also strings

Modified: trunk/mapbender/http/html/mod_treefolderPlain.php
===================================================================
--- trunk/mapbender/http/html/mod_treefolderPlain.php	2011-02-11 12:19:49 UTC (rev 7563)
+++ trunk/mapbender/http/html/mod_treefolderPlain.php	2011-02-11 12:36:07 UTC (rev 7564)
@@ -38,8 +38,8 @@
 msgObj.tooltipMoveSelectionDown = '<?php echo _mb("Moves the selection down");?>';
 msgObj.tooltipMetadata = '<?php echo _mb("Show metadata");?>';
 
+if (typeof(localizeTree) === 'undefined')localizeTree = 'false';
 
-
 function localizeTree () {
 	var treefolderTitleArray = [];
 	var map = Mapbender.modules[mod_treeGDE_map];
@@ -95,7 +95,7 @@
 });
 */
 
-if (localizeTree == 1) {
+if (localizeTree == 'true') {
 	eventLocalize.register(function () {
 		localizeTree();
 	});



More information about the Mapbender_commits mailing list