Commit c235e40e7ad483f31d8564bad20bd2c42f2344d4
1 parent
e56773f8
Exists in
master
and in
7 other branches
Correção na geração de relatórios da ferramenta tabela
Showing
2 changed files
with
7 additions
and
2 deletions
Show diff stats
admin/admin.db
No preview for this file type
ferramentas/tabela/index.js
| ... | ... | @@ -1589,6 +1589,7 @@ i3GEOF.tabela = { |
| 1589 | 1589 | */ |
| 1590 | 1590 | relatorioTabela: function(){ |
| 1591 | 1591 | try{ |
| 1592 | + $i("i3GEOtabelatiporelh").value = ""; | |
| 1592 | 1593 | $i("i3GEOtabelaarearelh").value = $i("i3GEOtabelacalculaarea").checked; |
| 1593 | 1594 | $i("i3GEOtabelastatrelh").value = $i("i3GEOtabelacalculaestat").checked; |
| 1594 | 1595 | $i("i3GEOtabelaexcluirvalorh").value = $i("i3GEOtabelaexcestat").value; |
| ... | ... | @@ -1600,7 +1601,7 @@ i3GEOF.tabela = { |
| 1600 | 1601 | listaordem = [], |
| 1601 | 1602 | listanomes = [], |
| 1602 | 1603 | nome,ordem, |
| 1603 | - i, | |
| 1604 | + i,temp, | |
| 1604 | 1605 | n = inputs.length; |
| 1605 | 1606 | for (i=0;i<n; i++){ |
| 1606 | 1607 | if (inputs[i].type === "checkbox" && inputs[i].checked == true){ |
| ... | ... | @@ -1617,8 +1618,10 @@ i3GEOF.tabela = { |
| 1617 | 1618 | $i("i3GEOtabelaordemrel").value=listaordem; |
| 1618 | 1619 | $i("i3GEOtabelanomesrelh").value=listanomes; |
| 1619 | 1620 | $i("i3GEOtabelaitensrelh").value=listai; |
| 1621 | + temp = $i("i3GEOtabelarelatorio").action; | |
| 1620 | 1622 | $i("i3GEOtabelarelatorio").action += "?ext="+i3GEO.parametros.mapexten; |
| 1621 | 1623 | $i("i3GEOtabelarelatorio").submit(); |
| 1624 | + $i("i3GEOtabelarelatorio").action = temp; | |
| 1622 | 1625 | }catch(e){i3GEO.janela.tempoMsg(e);} |
| 1623 | 1626 | }, |
| 1624 | 1627 | /* |
| ... | ... | @@ -1639,7 +1642,7 @@ i3GEOF.tabela = { |
| 1639 | 1642 | listai = [], |
| 1640 | 1643 | listanomes = [], |
| 1641 | 1644 | nome, |
| 1642 | - i, | |
| 1645 | + i,temp, | |
| 1643 | 1646 | n = inputs.length; |
| 1644 | 1647 | for (i=0;i<n; i++) |
| 1645 | 1648 | { |
| ... | ... | @@ -1652,8 +1655,10 @@ i3GEOF.tabela = { |
| 1652 | 1655 | } |
| 1653 | 1656 | $i("i3GEOtabelanomesrelh").value=listanomes; |
| 1654 | 1657 | $i("i3GEOtabelaitensrelh").value=listai; |
| 1658 | + temp = $i("i3GEOtabelarelatorio").action; | |
| 1655 | 1659 | $i("i3GEOtabelarelatorio").action += "?ext="+i3GEO.parametros.mapexten; |
| 1656 | 1660 | $i("i3GEOtabelarelatorio").submit(); |
| 1661 | + $i("i3GEOtabelarelatorio").action = temp; | |
| 1657 | 1662 | }catch(e){i3GEO.janela.tempoMsg(e);} |
| 1658 | 1663 | } |
| 1659 | 1664 | }; | ... | ... |