mirror of https://github.com/MISP/MISP
fix: [CorrelationGraph] set the undefined ajax variable when pivoting from a taxonomy tag / galaxy cluster in fullscreen
parent
6075b9ce25
commit
36fc897e71
|
@ -162,6 +162,7 @@ class GalaxiesController extends AppController {
|
|||
));
|
||||
if (empty($cluster)) throw new MethodNotAllowedException('Invalid Galaxy.');
|
||||
$this->set('cluster', $cluster);
|
||||
$this->set('ajax', $this->request->is('ajax'));
|
||||
$this->set('scope', 'galaxy');
|
||||
$this->set('id', $id);
|
||||
$this->set('galaxy_id' , $cluster['Galaxy']['id']);
|
||||
|
|
|
@ -797,6 +797,7 @@ class TagsController extends AppController {
|
|||
if (!empty($taxonomy)) {
|
||||
$this->set('taxonomy', $taxonomy);
|
||||
}
|
||||
$this->set('ajax', $this->request->is('ajax'));
|
||||
$this->set('scope', 'tag');
|
||||
$this->set('id', $id);
|
||||
$this->render('/Events/view_graph');
|
||||
|
|
Loading…
Reference in New Issue