fix: [CorrelationGraph] set the undefined ajax variable when pivoting from a taxonomy tag / galaxy cluster in fullscreen

pull/3233/head
Sami Mokaddem 2018-05-07 13:53:38 +00:00
parent 6075b9ce25
commit 36fc897e71
2 changed files with 2 additions and 0 deletions

View File

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

View File

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