Commit 56a3e8fa1be7201beeb150264cfb5bfd0420542b

Authored by Edmar Moretti
1 parent 3f796bc4

Correção no scroll da janela após concluído o resultado

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
ferramentas/tme/index.js
@@ -284,6 +284,8 @@ i3GEOF.tme = { @@ -284,6 +284,8 @@ i3GEOF.tme = {
284 var ins = "<p class=paragrafo >" + $trad('arquivoDownload',i3GEOF.tme.dicionario) +"<br><a href='"+retorno.data.url+"' target=new >"+retorno.data.url+"</a><br>"; 284 var ins = "<p class=paragrafo >" + $trad('arquivoDownload',i3GEOF.tme.dicionario) +"<br><a href='"+retorno.data.url+"' target=new >"+retorno.data.url+"</a><br>";
285 ins += "<br>" + $trad('abreNoI3geo',i3GEOF.tme.dicionario) +"<br><a href='"+i3GEO.configura.locaplic+"/ms_criamapa.php?interface=googleearth.phtml&kmlurl="+retorno.data.url+"' target='new' >interface Google Earth</a><br>"; 285 ins += "<br>" + $trad('abreNoI3geo',i3GEOF.tme.dicionario) +"<br><a href='"+i3GEO.configura.locaplic+"/ms_criamapa.php?interface=googleearth.phtml&kmlurl="+retorno.data.url+"' target='new' >interface Google Earth</a><br>";
286 $i("i3GEOTMEresultado").innerHTML = ins; 286 $i("i3GEOTMEresultado").innerHTML = ins;
  287 + $i("i3GEOTMEresultado").scrollIntoView(true);
  288 +
287 }; 289 };
288 p = i3GEO.configura.locaplic+"/pacotes/tme/TME_i3geo.php?maxHeight="+$i("i3GEOTMEmaxHeight").value+"&barSize="+$i("i3GEOTMEbarSize").value+"&sid="+i3GEO.configura.sid+"&nomelayer="+i3GEO.temaAtivo+"&colunasvalor="+lista.toString(",")+"&colunanomeregiao="+colunanomeregiao+"&titulo="+$i("i3GEOTMEtitulo").value+"&descricao="+$i("i3GEOTMEdesc").value; 290 p = i3GEO.configura.locaplic+"/pacotes/tme/TME_i3geo.php?maxHeight="+$i("i3GEOTMEmaxHeight").value+"&barSize="+$i("i3GEOTMEbarSize").value+"&sid="+i3GEO.configura.sid+"&nomelayer="+i3GEO.temaAtivo+"&colunasvalor="+lista.toString(",")+"&colunanomeregiao="+colunanomeregiao+"&titulo="+$i("i3GEOTMEtitulo").value+"&descricao="+$i("i3GEOTMEdesc").value;
289 cp.set_response_type("JSON"); 291 cp.set_response_type("JSON");