Commit 2ef442cfca6513065a0c51dc16fba7da256f727b
1 parent
073ed95c
Exists in
master
and in
7 other branches
Correção para evitar que a ferramenta de identificação fosse aberta quando da ad…
…ição de um tema ao mapa
Showing
1 changed file
with
11 additions
and
1 deletions
Show diff stats
classesjs/classe_arvoredecamadas.js
@@ -115,7 +115,7 @@ i3GEO.arvoreDeCamadas = { | @@ -115,7 +115,7 @@ i3GEO.arvoreDeCamadas = { | ||
115 | Tipo: | 115 | Tipo: |
116 | {Boolean} | 116 | {Boolean} |
117 | */ | 117 | */ |
118 | - AGUARDALEGENDA: true, | 118 | + AGUARDALEGENDA: false, |
119 | /* | 119 | /* |
120 | Variavel: CAMADAS | 120 | Variavel: CAMADAS |
121 | 121 | ||
@@ -290,6 +290,16 @@ i3GEO.arvoreDeCamadas = { | @@ -290,6 +290,16 @@ i3GEO.arvoreDeCamadas = { | ||
290 | document.getElementById(i3GEO.arvoreDeCamadas.IDHTML).style.textAlign="left"; | 290 | document.getElementById(i3GEO.arvoreDeCamadas.IDHTML).style.textAlign="left"; |
291 | i3GEO.arvoreDeCamadas.ARVORE.draw(); | 291 | i3GEO.arvoreDeCamadas.ARVORE.draw(); |
292 | this.ativaDragDrop(); | 292 | this.ativaDragDrop(); |
293 | + // | ||
294 | + //verifica se a janela a ferramenta identifica está ativa para atualizar a lista de temas | ||
295 | + // | ||
296 | + try{ | ||
297 | + if($i("i3GEOidentificalistaTemas")){ | ||
298 | + i3GEOF.identifica.listaTemas(); | ||
299 | + g_tipoacao = "identifica"; | ||
300 | + } | ||
301 | + } | ||
302 | + catch(r){} | ||
293 | }, | 303 | }, |
294 | /* | 304 | /* |
295 | Function: ativaDragDrop | 305 | Function: ativaDragDrop |