N°3685 - Front-end performances: Include jQuery.popup_menu lib. only when necessary

This commit is contained in:
Molkobain
2021-09-10 18:16:43 +02:00
parent 94d53575ae
commit da3bab9647
5 changed files with 7 additions and 4 deletions

View File

@@ -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');