Commit 8bdea49363c06e6559010c4a30b9bda99d144f37
1 parent
51946d4b
Exists in
master
and in
7 other branches
Corrige a obtenção da lista de temas ativos
Showing
3 changed files
with
3 additions
and
3 deletions
Show diff stats
mashups/openlayers.js.php
| @@ -262,7 +262,7 @@ i3GEO.editorOL = { | @@ -262,7 +262,7 @@ i3GEO.editorOL = { | ||
| 262 | nlayers = layers.length, | 262 | nlayers = layers.length, |
| 263 | ins = []; | 263 | ins = []; |
| 264 | for(i=0;i<nlayers;i++){ | 264 | for(i=0;i<nlayers;i++){ |
| 265 | - if(layers[i].isBaseLayer === false && layers[i].visibility === true){ | 265 | + if(layers[i].visibility === true){ |
| 266 | ins.push(layers[i]); | 266 | ins.push(layers[i]); |
| 267 | } | 267 | } |
| 268 | } | 268 | } |
mashups/openlayers_compacto.js
| @@ -3274,7 +3274,7 @@ var layers = i3GEO.editorOL.mapa.layers, | @@ -3274,7 +3274,7 @@ var layers = i3GEO.editorOL.mapa.layers, | ||
| 3274 | nlayers = layers.length, | 3274 | nlayers = layers.length, |
| 3275 | ins = []; | 3275 | ins = []; |
| 3276 | for(i=0;i<nlayers;i++){ | 3276 | for(i=0;i<nlayers;i++){ |
| 3277 | -if(layers[i].isBaseLayer === false && layers[i].visibility === true){ | 3277 | +if(layers[i].visibility === true){ |
| 3278 | ins.push(layers[i]); | 3278 | ins.push(layers[i]); |
| 3279 | } | 3279 | } |
| 3280 | } | 3280 | } |
mashups/openlayers_compacto.js.php
| @@ -3274,7 +3274,7 @@ var layers = i3GEO.editorOL.mapa.layers, | @@ -3274,7 +3274,7 @@ var layers = i3GEO.editorOL.mapa.layers, | ||
| 3274 | nlayers = layers.length, | 3274 | nlayers = layers.length, |
| 3275 | ins = []; | 3275 | ins = []; |
| 3276 | for(i=0;i<nlayers;i++){ | 3276 | for(i=0;i<nlayers;i++){ |
| 3277 | -if(layers[i].isBaseLayer === false && layers[i].visibility === true){ | 3277 | +if(layers[i].visibility === true){ |
| 3278 | ins.push(layers[i]); | 3278 | ins.push(layers[i]); |
| 3279 | } | 3279 | } |
| 3280 | } | 3280 | } |