Commit 1ccbe28a1dc166e8360961f4676ca699baaf98af

Authored by bonot
1 parent 0a90ed12
Exists in 2.8 and in 6 other branches 2.2, 2.3, 2.4, 2.5, 2.6, 2.7

Adiciona corretamente script js

ieducar/intranet/educar_calendario_ano_letivo_lst.php
@@ -17,7 +17,6 @@ class clsIndexBase extends clsBase @@ -17,7 +17,6 @@ class clsIndexBase extends clsBase
17 function Formular() 17 function Formular()
18 { 18 {
19 $this->SetTitulo($this->_instituicao . ' i-Educar - Calendários'); 19 $this->SetTitulo($this->_instituicao . ' i-Educar - Calendários');
20 - $this->addScript('calendario');  
21 $this->processoAp = 620; 20 $this->processoAp = 620;
22 } 21 }
23 } 22 }
@@ -471,6 +470,12 @@ class indice extends clsListagem @@ -471,6 +470,12 @@ class indice extends clsListagem
471 470
472 $retorno .= '</tbody> </table>'; 471 $retorno .= '</tbody> </table>';
473 472
  473 + $scripts = [
  474 + '/intranet/scripts/calendario.js'
  475 + ];
  476 +
  477 + Portabilis_View_Helper_Application::loadJavascript($this, $scripts);
  478 +
474 return $retorno; 479 return $retorno;
475 } 480 }
476 } 481 }