Javascript dans le controller pour de meilleur performance
This commit is contained in:
parent
d8d87f04f2
commit
b8933aa09a
@ -28,7 +28,6 @@ class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
|
||||
->appendFile($pathScript.'/jquery.cookie.js', 'text/javascript')
|
||||
->appendFile($pathScript.'/jquery-ui.js', 'text/javascript')
|
||||
->appendFile($pathScript.'/jquery.qtip.js', 'text/javascript')
|
||||
->appendFile($pathScript.'/autocompleted.js', 'text/javascript')
|
||||
->appendFile($pathScript.'/scripts.js', 'text/javascript');
|
||||
|
||||
$view->headTitle()->setSeparator(' - ');
|
||||
|
@ -6,7 +6,8 @@ Class IndexController extends Libs_Controller
|
||||
{
|
||||
$this->view->headScript()
|
||||
->appendFile('/themes/default/scripts/jquery.jstree.js', 'text/javascript')
|
||||
->appendFile('/themes/default/scripts/fields.js', 'text/javascript');
|
||||
->appendFile('/themes/default/scripts/fields.js', 'text/javascript')
|
||||
->appendFile('/themes/default/scripts/autocompleted.js', 'text/javascript');
|
||||
/* Initialize action controller here */
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user