Commit 9f5e07277aeeaf4fd79a17c15e0a0b9bd9cc94f7
1 parent
0f3b7539
Exists in
master
and in
7 other branches
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,6 +421,7 @@ i3GEOF.tabela = { | ||
| 421 | inicio = $i("i3GEOtabelainicio").value - 1, | 421 | inicio = $i("i3GEOtabelainicio").value - 1, |
| 422 | fim = $i("i3GEOtabelafim").value, | 422 | fim = $i("i3GEOtabelafim").value, |
| 423 | p, | 423 | p, |
| 424 | + dadosDaClasse = "nao", | ||
| 424 | cp = new cpaint(); | 425 | cp = new cpaint(); |
| 425 | if ($i("i3GEOtabelatiporeg").checked) | 426 | if ($i("i3GEOtabelatiporeg").checked) |
| 426 | {tiporeg = "mapa";} | 427 | {tiporeg = "mapa";} |
| @@ -454,7 +455,7 @@ i3GEOF.tabela = { | @@ -454,7 +455,7 @@ i3GEOF.tabela = { | ||
| 454 | ins += "<tr><td></td><td></td><td></td><td></td>"; | 455 | ins += "<tr><td></td><td></td><td></td><td></td>"; |
| 455 | n = retorno.data[0].itens.length; | 456 | n = retorno.data[0].itens.length; |
| 456 | for (i=0;i<n;i++) | 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' /> <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' /> <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 | ins += "</tr>"; | 459 | ins += "</tr>"; |
| 459 | cor = "linha"; | 460 | cor = "linha"; |
| 460 | n = retorno.data[1].registros.length; | 461 | n = retorno.data[1].registros.length; |
| @@ -664,6 +665,8 @@ i3GEOF.tabela = { | @@ -664,6 +665,8 @@ i3GEOF.tabela = { | ||
| 664 | p, | 665 | p, |
| 665 | cp, | 666 | cp, |
| 666 | temp = function(retorno){ | 667 | temp = function(retorno){ |
| 668 | + if(i3GEO.Interface.ATUAL === "padrao") | ||
| 669 | + {i3GEO.atualiza(retorno);} | ||
| 667 | i3GEO.Interface.atualizaTema(retorno,i3GEOF.tabela.tema); | 670 | i3GEO.Interface.atualizaTema(retorno,i3GEOF.tabela.tema); |
| 668 | i3GEOF.tabela.aguarde.visibility = "hidden"; | 671 | i3GEOF.tabela.aguarde.visibility = "hidden"; |
| 669 | }; | 672 | }; |