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 | 262 | nlayers = layers.length, |
| 263 | 263 | ins = []; |
| 264 | 264 | for(i=0;i<nlayers;i++){ |
| 265 | - if(layers[i].isBaseLayer === false && layers[i].visibility === true){ | |
| 265 | + if(layers[i].visibility === true){ | |
| 266 | 266 | ins.push(layers[i]); |
| 267 | 267 | } |
| 268 | 268 | } | ... | ... |
mashups/openlayers_compacto.js
| ... | ... | @@ -3274,7 +3274,7 @@ var layers = i3GEO.editorOL.mapa.layers, |
| 3274 | 3274 | nlayers = layers.length, |
| 3275 | 3275 | ins = []; |
| 3276 | 3276 | for(i=0;i<nlayers;i++){ |
| 3277 | -if(layers[i].isBaseLayer === false && layers[i].visibility === true){ | |
| 3277 | +if(layers[i].visibility === true){ | |
| 3278 | 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 | 3274 | nlayers = layers.length, |
| 3275 | 3275 | ins = []; |
| 3276 | 3276 | for(i=0;i<nlayers;i++){ |
| 3277 | -if(layers[i].isBaseLayer === false && layers[i].visibility === true){ | |
| 3277 | +if(layers[i].visibility === true){ | |
| 3278 | 3278 | ins.push(layers[i]); |
| 3279 | 3279 | } |
| 3280 | 3280 | } | ... | ... |