Commit 23d5cfe8dcda6de24c07594141fa67e658f2b639
1 parent
e258f274
Exists in
master
Corrigido erro no cadastro de turmas.
* O Erro foi originado no commit 34a3c67e0b328e5219e4afd8d67a7259e04c7e0e cujo removeu alguns elementos html da página, porem não foi removido o código JS que esperava que os elementos existissem, o que causava o erro.
Showing
1 changed file
with
0 additions
and
16 deletions
Show diff stats
ieducar/intranet/educar_turma_cad.php
| ... | ... | @@ -1289,15 +1289,6 @@ document.getElementById('ref_cod_escola').onchange = function() |
| 1289 | 1289 | if (document.getElementById('ref_cod_escola').value == '') { |
| 1290 | 1290 | getCurso(); |
| 1291 | 1291 | } |
| 1292 | - | |
| 1293 | - $('img_colecao').style.display = 'none;'; | |
| 1294 | - | |
| 1295 | - if ($F('ref_cod_instituicao') == '') { | |
| 1296 | - $('img_turma').style.display = 'none;'; | |
| 1297 | - } | |
| 1298 | - else { | |
| 1299 | - $('img_turma').style.display = ''; | |
| 1300 | - } | |
| 1301 | 1292 | } |
| 1302 | 1293 | |
| 1303 | 1294 | document.getElementById('ref_cod_curso').onchange = function() |
| ... | ... | @@ -1310,13 +1301,6 @@ document.getElementById('ref_cod_curso').onchange = function() |
| 1310 | 1301 | getEscolaCursoSerie(); |
| 1311 | 1302 | |
| 1312 | 1303 | PadraoAnoEscolar_xml(); |
| 1313 | - | |
| 1314 | - if (this.value == '') { | |
| 1315 | - $('img_colecao').style.display = 'none;'; | |
| 1316 | - } | |
| 1317 | - else { | |
| 1318 | - $('img_colecao').style.display = ''; | |
| 1319 | - } | |
| 1320 | 1304 | } |
| 1321 | 1305 | |
| 1322 | 1306 | function PadraoAnoEscolar_xml() | ... | ... |