svn commit: r439 - trunk/mapbender/http/html/mod_treefolder.php

uli at osgeo.org uli at osgeo.org
Wed Jun 14 04:38:51 EDT 2006


Author: uli
Date: 2006-06-14 08:38:51+0000
New Revision: 439

Modified:
   trunk/mapbender/http/html/mod_treefolder.php

Log:
check elements_var and set defaults

Modified: trunk/mapbender/http/html/mod_treefolder.php
Url: https://mapbender.osgeo.org/source/browse/mapbender/trunk/mapbender/http/html/mod_treefolder.php?view=diff&rev=439&p1=trunk/mapbender/http/html/mod_treefolder.php&p2=trunk/mapbender/http/html/mod_treefolder.php&r1=438&r2=439
==============================================================================
--- trunk/mapbender/http/html/mod_treefolder.php	(original)
+++ trunk/mapbender/http/html/mod_treefolder.php	2006-06-14 08:38:51+0000
@@ -80,6 +80,12 @@
    * warranty of any kind.
    *
    */
+
+// some defaults
+try{if (switchwms){}}catch(e){switchwms = 'false';}
+try{if (ficheckbox){}}catch(e){ficheckbox = 'true';}
+try{if (metadatalink){}}catch(e){metadatalink = 'false';}
+
   
   parent.mb_registerSubFunctions("window.frames['treeGDE'].mod_treeGDE();");
   parent.mb_registerloadWmsSubFunctions("window.frames['treeGDE'].deleteInputTags();");




More information about the Mapbender_commits mailing list