mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
N°3685 - Front-end performances: Include graph libs. (Raphael, simple_graph, ...) only when necessary
This commit is contained in:
@@ -43,6 +43,9 @@ class iTopWebPage extends NiceWebPage implements iTabbedPage
|
||||
// - DashletGroupBy & other specific places
|
||||
'js/d3.js',
|
||||
'js/c3.js',
|
||||
// - DisplayableGraph, impact analysis
|
||||
'js/raphael-min.js',
|
||||
'js/jquery.mousewheel.js',
|
||||
|
||||
// Deprecated files
|
||||
'js/date.js',
|
||||
@@ -189,8 +192,6 @@ class iTopWebPage extends NiceWebPage implements iTabbedPage
|
||||
$this->add_linked_script(utils::GetAbsoluteUrlAppRoot().'js/property_field.js');
|
||||
$this->add_linked_script(utils::GetAbsoluteUrlAppRoot().'js/icon_select.js');
|
||||
$this->add_linked_script(utils::GetAbsoluteUrlAppRoot().'js/ajaxfileupload.js');
|
||||
|
||||
$this->add_linked_script(utils::GetAbsoluteUrlAppRoot().'js/raphael-min.js');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user