Commit eddceedb3356bcc00f746ac5bb9c91c242314363

Authored by Edmar Moretti
1 parent fc1c9bd9

v6 - correção na ferramenta opções tamanho

ferramentas/opcoes_tamanho/dicionario.js
... ... @@ -29,5 +29,10 @@ i3GEOF.opcoesTamanho.dicionario = {
29 29 en:"",
30 30 es:"",
31 31 it:""
  32 + }],
  33 + 6: [{
  34 + pt:"Essa operacao afeta apenas a legenda utilizada na ferramenta de impressao do mapa",
  35 + en:"",
  36 + es:""
32 37 }]
33 38 };
34 39 \ No newline at end of file
... ...
ferramentas/opcoes_tamanho/index.js
... ... @@ -102,6 +102,7 @@ i3GEOF.opcoesTamanho = {
102 102 box.style.height = i3GEO.parametros.h + "px";
103 103 box.style.display = "block";
104 104 box.style.zIndex = 2;
  105 + i3GEO.janela.tempoMsg($trad(6,i3GEOF.opcoesLegenda.dicionario));
105 106 }
106 107 catch(erro){i3GEO.janela.tempoMsg(erro);}
107 108 },
... ... @@ -188,6 +189,7 @@ i3GEOF.opcoesTamanho = {
188 189 if ((l > 5) && (a > 5)){
189 190 i3GEO.parametros.w = l;
190 191 i3GEO.parametros.h = a;
  192 + /*
191 193 $i(i3GEO.Interface.IDMAPA).style.width= l+"px";
192 194 $i(i3GEO.Interface.IDMAPA).style.height= a+"px";
193 195 $i(i3GEO.Interface.IDCORPO).style.width= l+"px";
... ... @@ -197,21 +199,22 @@ i3GEOF.opcoesTamanho = {
197 199 {calc += parseInt($i("ferramentas").style.width,10);}
198 200 if ($i("contemFerramentas"))
199 201 {calc += parseInt($i("contemFerramentas").style.width,10);}
200   - //if($i("mst"))
201   - //{$i("mst").style.width = (l * 1) + calc + "px";}
202 202 if($i("contemImg")){
203 203 $i("contemImg").style.height= a+"px";
204 204 $i("contemImg").style.width= l+"px";
205 205 }
  206 + */
206 207 temp = function(){
207   - i3GEO.atualiza();
208   - i3GEO.guias.ALTURACORPOGUIAS = a;
  208 + //i3GEO.atualiza();
  209 + //i3GEO.guias.ALTURACORPOGUIAS = a;
209 210 i3GEOF.opcoesTamanho.aguarde.visibility = "hidden";
  211 + /*
210 212 if(i3GEO.guias.TIPO === "movel")
211 213 {i3GEO.guias.guiaMovel.reposiciona();}
212 214 else
213 215 {i3GEO.guias.ajustaAltura();}
214 216 i3GEO.mapa.reposicionaDobraPagina();
  217 + */
215 218 };
216 219 p = i3GEO.configura.locaplic+"/ferramentas/opcoes_tamanho/exec.php?g_sid="+i3GEO.configura.sid+"&funcao=mudatamanho&altura="+a+"&largura="+l;
217 220 cp = new cpaint();
... ...