Commit bcbce21a authored by Florian Joriot's avatar Florian Joriot
Browse files

Script de fermeture de l'ajax-modal après envoie du mail

parent 78f92edc
Loading
Loading
Loading
Loading
+8
Changes for module/PieceJointe/view/piece-jointe/piece-jointe/validation.phtml: 8 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -48,3 +48,11 @@ $params = [
        <i class="fas fa-thumbs-down"></i> Dévalider
    </a>
<?php endif ?>

<script>
    $(function () {
        $("body").on("pj-refus-event", function (event) {
            event.div.modal('hide');
        });
    });
</script>
 No newline at end of file