mirror of https://github.com/MISP/MISP
fix: Invalid element load while browsing the galaxies, fixes #1752
- was hard to spot at first, but indeed the bug is as described in the issue and masked by an ajax load of the contentspull/1786/head
parent
07822ffbd6
commit
0e460822dd
|
@ -16,13 +16,11 @@
|
|||
<dd><?php echo h($galaxy['Galaxy']['description']); ?></dd>
|
||||
<dt>Version</dt>
|
||||
<dd><?php echo h($galaxy['Galaxy']['version']); ?></dd>
|
||||
|
||||
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
<div id="clusters_div">
|
||||
<?php echo $this->element('galaxyclusters'); ?>
|
||||
</div>
|
||||
<div id="clusters_div"></div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function () {
|
||||
|
|
|
@ -31,13 +31,13 @@
|
|||
</dd>
|
||||
<dt>Events</dt>
|
||||
<dd>
|
||||
<?php
|
||||
<?php
|
||||
if (isset($cluster['GalaxyCluster']['tag_count'])):
|
||||
?>
|
||||
<a href="<?php echo $baseurl; ?>/events/index/searchtag:<?php echo h($cluster['GalaxyCluster']['tag_id']); ?>"><?php echo h($cluster['GalaxyCluster']['tag_count']); ?> event(s)</a>
|
||||
<?php
|
||||
else:
|
||||
echo '0';
|
||||
echo '0';
|
||||
endif;
|
||||
?>
|
||||
</dd>
|
||||
|
@ -45,9 +45,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="row-fluid">
|
||||
<div id="elements_div" class="span8">
|
||||
<?php echo $this->element('galaxyelements'); ?>
|
||||
</div>
|
||||
<div id="elements_div" class="span8"></div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
|
|
Loading…
Reference in New Issue