[Mapbender-commits] r1630 - trunk/mapbender/http/html
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Wed Aug 8 05:32:09 EDT 2007
Author: christoph
Date: 2007-08-08 05:32:08 -0400 (Wed, 08 Aug 2007)
New Revision: 1630
Modified:
trunk/mapbender/http/html/mod_treefolder2.php
Log:
If layer opacity is 100 (== is not set), the filter attributes will not be applied to the div tag
Modified: trunk/mapbender/http/html/mod_treefolder2.php
===================================================================
--- trunk/mapbender/http/html/mod_treefolder2.php 2007-08-08 09:30:29 UTC (rev 1629)
+++ trunk/mapbender/http/html/mod_treefolder2.php 2007-08-08 09:32:08 UTC (rev 1630)
@@ -326,7 +326,7 @@
if (parent.mb_mapObj[mapObj_id].wms[wms_id].gui_wms_visible > 0) {
var divId = 'div_'+wms_id;
wmsImage = parent.mapframe1.document.getElementById(divId);
- if (wmsImage != null) {
+ if (wmsImage != null && opacity != 100) {
wmsImage.style.opacity = (opacity / 100);
wmsImage.style.MozOpacity = (opacity / 100);
wmsImage.style.KhtmlOpacity = (opacity / 100);
More information about the Mapbender_commits
mailing list