[Mapbender-commits] r1233 - trunk/mapbender/http/html
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Mar 16 11:04:10 EDT 2007
Author: nimix
Date: 2007-03-16 11:04:10 -0400 (Fri, 16 Mar 2007)
New Revision: 1233
Modified:
trunk/mapbender/http/html/mod_treefolder2.php
Log:
disable selection if wmsbuttons = false
Modified: trunk/mapbender/http/html/mod_treefolder2.php
===================================================================
--- trunk/mapbender/http/html/mod_treefolder2.php 2007-03-16 14:44:51 UTC (rev 1232)
+++ trunk/mapbender/http/html/mod_treefolder2.php 2007-03-16 15:04:10 UTC (rev 1233)
@@ -94,6 +94,16 @@
//var menu_layer_switch = ['menu_zoom', ['Zjjj ', 'javascript:var sd = "{@strData}";eval(eval(sd.substr(0, sd.length-6))[1][1]);openwindow("../php/mod_layerMetadata.php?id="+parent.mb_mapObj[selectedMap].wms[selectedWMS].objLayer[selectedLayer].layer_uid);',,'info.png']];
//var menu_info_switch = ['menu_zoom', ['Zmn ', 'javascript:var sd = "{@strData}";eval(eval(sd.substr(0, sd.length-6))[1][1]);openwindow("../php/mod_layerMetadata.php?id="+parent.mb_mapObj[selectedMap].wms[selectedWMS].objLayer[selectedLayer].layer_uid);',,'info.png']];
+parent.mb_registerloadWmsSubFunctions("window.frames['treeGDE'].reloadTree();");
+parent.mb_registerInitFunctions("window.frames['treeGDE'].loadTree();");
+if(showstatus=='true'||alerterror=='true'){
+ parent.mb_registerSubFunctions("window.frames['treeGDE'].init_mapcheck();");
+ init_mapcheck();
+}
+parent.mb_registerSubFunctions("window.frames['treeGDE'].updateScale();");
+if(wmsbuttons != "true")
+ jst_highlight = false;
+
function select(i,ii,iii){
//ignore if selected
if(selectedMap==i && selectedWMS==ii && selectedLayer==iii)return;
@@ -196,14 +206,6 @@
}
}
-parent.mb_registerloadWmsSubFunctions("window.frames['treeGDE'].reloadTree();");
-parent.mb_registerInitFunctions("window.frames['treeGDE'].loadTree();");
-if(showstatus=='true'||alerterror=='true'){
- parent.mb_registerSubFunctions("window.frames['treeGDE'].init_mapcheck();");
- init_mapcheck();
-}
-parent.mb_registerSubFunctions("window.frames['treeGDE'].updateScale();");
-
function imgerror(){
var map=parent.getMapObjIndexByName(mod_treeGDE_map);
var wms=Number(this.id.substr(4));
More information about the Mapbender_commits
mailing list