Commit 9f5e07277aeeaf4fd79a17c15e0a0b9bd9cc94f7

Authored by Edmar Moretti
1 parent 0f3b7539

Ticket #531

Showing 1 changed file with 4 additions and 1 deletions   Show diff stats
ferramentas/tabela/index.js.php
... ... @@ -421,6 +421,7 @@ i3GEOF.tabela = {
421 421 inicio = $i("i3GEOtabelainicio").value - 1,
422 422 fim = $i("i3GEOtabelafim").value,
423 423 p,
  424 + dadosDaClasse = "nao",
424 425 cp = new cpaint();
425 426 if ($i("i3GEOtabelatiporeg").checked)
426 427 {tiporeg = "mapa";}
... ... @@ -454,7 +455,7 @@ i3GEOF.tabela = {
454 455 ins += "<tr><td></td><td></td><td></td><td></td>";
455 456 n = retorno.data[0].itens.length;
456 457 for (i=0;i<n;i++)
457   - {ins += "<td style='background-color:yellow' ><img style=cursor:pointer onclick='i3GEOF.tabela.excluiColuna(this,"+(i * 1 + 3)+")' src='"+i3GEO.configura.locaplic+"/imagens/x.gif' title='excluir' />&nbsp;<img style=cursor:pointer onclick='i3GEOF.tabela.ordenaColuna(this,"+(i * 1 + 3)+")' src='"+i3GEO.configura.locaplic+"/imagens/ordena1.gif' title='ordena' /><br> "+retorno.data[0].itens[i]+"</td>";}
  458 + {ins += "<td style='background-color:yellow' ><img style=cursor:pointer onclick='i3GEOF.tabela.excluiColuna(this,"+(i * 1 + 3)+")' src='"+i3GEO.configura.locaplic+"/imagens/x.gif' title='excluir' />&nbsp;<img style=cursor:pointer onclick='i3GEOF.tabela.ordenaColuna(this,"+(i * 1 + 3)+")' src='"+i3GEO.configura.locaplic+"/imagens/ordena1.gif' title='ordena' /><br><span title='"+retorno.data[0].itens[i]+"'> "+retorno.data[0].alias[i]+"</span></td>";}
458 459 ins += "</tr>";
459 460 cor = "linha";
460 461 n = retorno.data[1].registros.length;
... ... @@ -664,6 +665,8 @@ i3GEOF.tabela = {
664 665 p,
665 666 cp,
666 667 temp = function(retorno){
  668 + if(i3GEO.Interface.ATUAL === "padrao")
  669 + {i3GEO.atualiza(retorno);}
667 670 i3GEO.Interface.atualizaTema(retorno,i3GEOF.tabela.tema);
668 671 i3GEOF.tabela.aguarde.visibility = "hidden";
669 672 };
... ...