Skip to content

Commit

Permalink
Merge pull request #2598 from phili67/phili67-personview-optimization…
Browse files Browse the repository at this point in the history
…-filemanager

personview.php : filemanager optimization
  • Loading branch information
phili67 authored Apr 11, 2024
2 parents 742c16f + 2faabe6 commit 7989711
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/v2/templates/people/personview.php
Original file line number Diff line number Diff line change
Expand Up @@ -1664,9 +1664,12 @@ class="btn btn-<?= $item['isShared'] ? "success" : "default"
</div>
</div>

<?php if (SessionUser::getUser()->isEDriveEnabled($PersonInfos['iPersonID'])) : ?>
<script src="<?= $sRootPath ?>/skin/js/filemanager.js"></script>
<?php endif ?>

<script src="<?= $sRootPath ?>/skin/external/jquery-photo-uploader/PhotoUploader.js"></script>
<script src="<?= $sRootPath ?>/skin/js/people/MemberView.js"></script>
<script src="<?= $sRootPath ?>/skin/js/filemanager.js"></script>
<script src="<?= $sRootPath ?>/skin/js/people/AddRemoveCart.js"></script>
<script src="<?= $sRootPath ?>/skin/js/people/PersonView.js"></script>

Expand Down

0 comments on commit 7989711

Please sign in to comment.