Skip to content

Commit

Permalink
#282 [Hook] add: saturne js
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-eoxia committed Jun 7, 2023
1 parent 1d23193 commit e11e0a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions class/actions_dolisirh.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -768,6 +768,7 @@ function getDiffTimestampEvent() {
$html = saturne_show_documents('dolisirh:ProjectDocument', $dirFiles, $fileDir, $urlSource, $user->rights->projet->creer, $user->rights->projet->supprimer, '', 1, 0, 0, 0, 0, '', 0, '', empty($soc->default_lang) ? '' : $soc->default_lang, $object, 0, 'remove_file', (($object->status > Project::STATUS_DRAFT) ? 1 : 0));
?>

<script src="../custom/saturne/js/saturne.min.js"></script>
<script>
jQuery('.fichehalfleft .div-table-responsive-no-min').append(<?php echo json_encode($html) ; ?>)
</script>
Expand Down

0 comments on commit e11e0a2

Please sign in to comment.