[Mapbender-commits] r3348 - branches/2.5/http/html

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Tue Dec 16 16:36:42 EST 2008


Author: astrid_emde
Date: 2008-12-16 16:36:42 -0500 (Tue, 16 Dec 2008)
New Revision: 3348

Modified:
   branches/2.5/http/html/mod_treefolder2.php
Log:
controls was set to NULL changed it to controls='';
see ticket http://trac.osgeo.org/mapbender/ticket/353


Modified: branches/2.5/http/html/mod_treefolder2.php
===================================================================
--- branches/2.5/http/html/mod_treefolder2.php	2008-12-16 21:08:23 UTC (rev 3347)
+++ branches/2.5/http/html/mod_treefolder2.php	2008-12-16 21:36:42 UTC (rev 3348)
@@ -515,7 +515,7 @@
 								if(menu.indexOf("opacity_down")!=-1 && parseFloat(parent.mb_mapObj[i].wms[ii].gui_wms_mapopacity) > 0)c_menu+="menu_opacity_down,";
 								if(menu.indexOf("hide")!=-1)c_menu+="menu_hide";
 								c_menu+="]";
-								controls=null;
+								controls='';
 								if(switchwms=='true')controls='<INPUT type="checkbox" checked onclick="handleSelectedWMS(\''+arrNodes[0][0]+'|'+parent.mb_mapObj[i].wms[ii].wms_id+'\');" />';
 								if(wmsbuttons == 'true'&&metadatalink == 'true')controls+='<a href="'+'javascript:openwindow(\''+ defaultMetadataUrl + '&id='+temp.layer_uid+'\');'+'"><img src="'+imagedir+'/info.png" /></a>';
 								addNode(arrNodes[0][0],[parent.mb_mapObj[i].wms[ii].wms_id,[temp.layer_title,((metadatalink=='true'&&wmsbuttons != 'true')?('javascript:openwindow(\"'+ defaultMetadataUrl + '&id='+temp.layer_uid+'\");'):"javascript:select("+i+","+ii+","+iii+");"),,,temp.layer_title,eval(c_menu),controls,[i,ii,iii]]],false,false,reverse=="true");
@@ -630,4 +630,4 @@
 </SCRIPT>
 <DIV id="treeContainer"></DIV>
 </BODY>
-</HTML>
\ No newline at end of file
+</HTML>



More information about the Mapbender_commits mailing list