Commit f90aadc0d3e75e0feddff1e101e6d7958a7dbc49
1 parent
a26f7c3d
Exists in
master
and in
7 other branches
--no commit message
Showing
1 changed file
with
5 additions
and
4 deletions
Show diff stats
ferramentas/opcoes_legenda/index.js.php
... | ... | @@ -48,8 +48,7 @@ i3GEOF.opcoesLegenda = { |
48 | 48 | */ |
49 | 49 | inicia: function(iddiv){ |
50 | 50 | try{ |
51 | - $i(iddiv).innerHTML += i3GEOF.opcoesLegenda.html(); | |
52 | - i3GEO.util.comboFontes("i3GEOopcoesLegendafonte","i3GEOopcoesLegendafontef"); | |
51 | + $i(iddiv).innerHTML = i3GEOF.opcoesLegenda.html(); | |
53 | 52 | new YAHOO.widget.Button( |
54 | 53 | "i3GEOopcoesLegendabotao1", |
55 | 54 | {onclick:{fn: i3GEOF.opcoesLegenda.executa}} |
... | ... | @@ -58,6 +57,7 @@ i3GEOF.opcoesLegenda = { |
58 | 57 | "i3GEOopcoesLegendabotao2", |
59 | 58 | {onclick:{fn: i3GEOF.opcoesLegenda.testa}} |
60 | 59 | ); |
60 | + i3GEO.util.comboFontes("i3GEOopcoesLegendafonte","i3GEOopcoesLegendafontef"); | |
61 | 61 | i3GEOF.opcoesLegenda.parametrosAtuais(); |
62 | 62 | } |
63 | 63 | catch(erro){} |
... | ... | @@ -128,7 +128,7 @@ i3GEOF.opcoesLegenda = { |
128 | 128 | '<p class=paragrafo >' + |
129 | 129 | '<input id=i3GEOopcoesLegendabotao1 size=20 type=button value="Aplicar" />' + |
130 | 130 | '<input id=i3GEOopcoesLegendabotao2 size=20 type=button value="Testar" />' + |
131 | - '</p><br><img src="" id=i3GEOopcoesLegendatesteLegenda />'; | |
131 | + '</p><br><img alt="teste" src="" id=i3GEOopcoesLegendatesteLegenda style="display:none"/>'; | |
132 | 132 | return ins; |
133 | 133 | }, |
134 | 134 | /* |
... | ... | @@ -212,7 +212,7 @@ i3GEOF.opcoesLegenda = { |
212 | 212 | $i("i3GEOopcoesLegendalabelsize").value = retorno.data.labelsize; |
213 | 213 | } |
214 | 214 | i3GEOF.opcoesLegenda.aguarde.visibility = "hidden"; |
215 | - i3GEOF.opcoesLegenda.testa(); | |
215 | + //i3GEOF.opcoesLegenda.testa(); | |
216 | 216 | }catch(e){ |
217 | 217 | alert("Erro. "+e); |
218 | 218 | i3GEOF.opcoesLegenda.aguarde.visibility = "hidden"; |
... | ... | @@ -261,6 +261,7 @@ i3GEOF.opcoesLegenda = { |
261 | 261 | i3GEOF.opcoesLegenda.aguarde.visibility = "hidden"; |
262 | 262 | eval(retorno.data); |
263 | 263 | $i("i3GEOopcoesLegendatesteLegenda").src = legimagem; |
264 | + $i("i3GEOopcoesLegendatesteLegenda").style.display = "block"; | |
264 | 265 | }, |
265 | 266 | par = i3GEOF.opcoesLegenda.parametrosFormulario(), |
266 | 267 | p = i3GEO.configura.locaplic+"/classesphp/mapa_controle.php?g_sid="+i3GEO.configura.sid+"&funcao=testaLegenda"+par, | ... | ... |