mirror of https://github.com/MISP/MISP
chg: [UI] Use asset loader for view_event_distribution_graph.ctp
parent
e1b90c8e14
commit
68ca1b8849
|
@ -22,9 +22,12 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
echo $this->Html->script('Chart.min');
|
||||
echo $this->Html->script('event-distribution-graph');
|
||||
echo $this->Html->css('distribution-graph');
|
||||
?>
|
||||
<?= $this->element('genericElements/assetLoader', [
|
||||
'js' => [
|
||||
'Chart.min',
|
||||
'event-distribution-graph',
|
||||
],
|
||||
'css' => [
|
||||
'distribution-graph',
|
||||
],
|
||||
]);
|
||||
|
|
Loading…
Reference in New Issue