mirror of https://github.com/MISP/MISP
fix: [galaxies] Some minor fixes with the ajaxification
parent
6c58b379df
commit
8225a0d83f
|
@ -1,9 +1,9 @@
|
|||
<h4 class="blue"><?php echo __('Galaxies');?></h4>
|
||||
<?php
|
||||
$mayModify = (
|
||||
($isAclModify && $object['Event']['orgc_id'] == $me['org_id'])
|
||||
);
|
||||
if ($scope == 'event') {
|
||||
echo sprintf('<h4 class="blue">%s</h4>', __('Galaxies'));
|
||||
$element = 'galaxyQuickView';
|
||||
} else if ($scope == 'attribute') {
|
||||
$element = 'galaxyQuickViewMini';
|
||||
|
|
|
@ -895,7 +895,7 @@ function loadGalaxies(id, scope) {
|
|||
success:function (data, textStatus) {
|
||||
if (scope == 'event') {
|
||||
$("#galaxies_div").html(data);
|
||||
} else if ($scope == 'attribute') {
|
||||
} else if (scope == 'attribute') {
|
||||
$("#attribute_" + id + "_galaxy").html(data);
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue