Commit dd9df0abeea55b77c81c3631b8bbbdfcfba95daa
Committed by
Rafael Santos
1 parent
7e79b86d
Exists in
master
Issue: 11 - Listagem de estados em CEP, logradouro e municipio corrigida, no modulo enderecamento
Showing
3 changed files
with
3 additions
and
3 deletions
Show diff stats
ieducar/intranet/public_logradouro_lst.php
| ... | ... | @@ -291,7 +291,7 @@ document.getElementById('idpais').onchange = function() |
| 291 | 291 | function getUf( xml_uf ) |
| 292 | 292 | { |
| 293 | 293 | var campoUf = document.getElementById('sigla_uf'); |
| 294 | - var DOM_array = xml_uf.getElementsByTagName( "uf" ); | |
| 294 | + var DOM_array = xml_uf.getElementsByTagName( "estado" ); | |
| 295 | 295 | |
| 296 | 296 | if(DOM_array.length) |
| 297 | 297 | { | ... | ... |
ieducar/intranet/public_municipio_lst.php
| ... | ... | @@ -229,7 +229,7 @@ document.getElementById('idpais').onchange = function() |
| 229 | 229 | function getUf( xml_uf ) |
| 230 | 230 | { |
| 231 | 231 | var campoUf = document.getElementById('sigla_uf'); |
| 232 | - var DOM_array = xml_uf.getElementsByTagName( "uf" ); | |
| 232 | + var DOM_array = xml_uf.getElementsByTagName( "estado" ); | |
| 233 | 233 | |
| 234 | 234 | if(DOM_array.length) |
| 235 | 235 | { | ... | ... |
ieducar/intranet/urbano_cep_logradouro_lst.php
| ... | ... | @@ -275,7 +275,7 @@ document.getElementById('idpais').onchange = function() |
| 275 | 275 | function getUf( xml_uf ) |
| 276 | 276 | { |
| 277 | 277 | var campoUf = document.getElementById('sigla_uf'); |
| 278 | - var DOM_array = xml_uf.getElementsByTagName( "uf" ); | |
| 278 | + var DOM_array = xml_uf.getElementsByTagName( "estado" ); | |
| 279 | 279 | |
| 280 | 280 | if(DOM_array.length) |
| 281 | 281 | { | ... | ... |