fix: [galaxies] Some minor fixes with the ajaxification

pull/3989/head
iglocska 2019-01-06 17:04:10 +01:00
parent 6c58b379df
commit 8225a0d83f
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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);
}
},