mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-01 22:48:45 +02:00
N°3685 - Front-end performances: Include jQuery.popup_menu lib. only when necessary
This commit is contained in:
@@ -25,6 +25,9 @@ class NiceWebPage extends WebPage
|
||||
/** @inheritDoc */
|
||||
protected const COMPATIBILITY_LINKED_SCRIPTS_REL_PATH = [
|
||||
// Moved files
|
||||
// - DisplayableGraph, impact analysis
|
||||
'js/jquery.positionBy.js',
|
||||
'js/jquery.popupmenu.js',
|
||||
// - SearchForm
|
||||
'js/search/search_form_handler.js',
|
||||
'js/search/search_form_handler_history.js',
|
||||
@@ -147,8 +150,6 @@ EOF
|
||||
|
||||
$this->add_linked_script(utils::GetAbsoluteUrlAppRoot().'js/utils.js');
|
||||
|
||||
$this->add_linked_script(utils::GetAbsoluteUrlAppRoot().'js/jquery.positionBy.js');
|
||||
$this->add_linked_script(utils::GetAbsoluteUrlAppRoot().'js/jquery.popupmenu.js');
|
||||
$this->add_linked_script(utils::GetAbsoluteUrlAppRoot().'js/searchformforeignkeys.js');
|
||||
$this->add_linked_script(utils::GetAbsoluteUrlAppRoot().'js/latinise/latinise.min.js');
|
||||
$this->add_linked_script(utils::GetAbsoluteUrlAppRoot().'js/clipboard.min.js');
|
||||
|
||||
Reference in New Issue
Block a user