Commit 1ccbe28a1dc166e8360961f4676ca699baaf98af
1 parent
0a90ed12
Exists in
2.8
and in
6 other branches
Adiciona corretamente script js
Showing
1 changed file
with
6 additions
and
1 deletions
Show diff stats
ieducar/intranet/educar_calendario_ano_letivo_lst.php
... | ... | @@ -17,7 +17,6 @@ class clsIndexBase extends clsBase |
17 | 17 | function Formular() |
18 | 18 | { |
19 | 19 | $this->SetTitulo($this->_instituicao . ' i-Educar - Calendários'); |
20 | - $this->addScript('calendario'); | |
21 | 20 | $this->processoAp = 620; |
22 | 21 | } |
23 | 22 | } |
... | ... | @@ -471,6 +470,12 @@ class indice extends clsListagem |
471 | 470 | |
472 | 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 | 479 | return $retorno; |
475 | 480 | } |
476 | 481 | } | ... | ... |