Commit e6153fb2b9787d432e7d38119c6c143a33295417
Exists in
master
Merge pull request #135 from ieducativa/master
Corrigido erro no cadastro de turmas.
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,15 +1289,6 @@ document.getElementById('ref_cod_escola').onchange = function() | ||
| 1289 | if (document.getElementById('ref_cod_escola').value == '') { | 1289 | if (document.getElementById('ref_cod_escola').value == '') { |
| 1290 | getCurso(); | 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 | document.getElementById('ref_cod_curso').onchange = function() | 1294 | document.getElementById('ref_cod_curso').onchange = function() |
| @@ -1310,13 +1301,6 @@ document.getElementById('ref_cod_curso').onchange = function() | @@ -1310,13 +1301,6 @@ document.getElementById('ref_cod_curso').onchange = function() | ||
| 1310 | getEscolaCursoSerie(); | 1301 | getEscolaCursoSerie(); |
| 1311 | 1302 | ||
| 1312 | PadraoAnoEscolar_xml(); | 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 | function PadraoAnoEscolar_xml() | 1306 | function PadraoAnoEscolar_xml() |