Commit 49d809dd authored by David Surville's avatar David Surville
Browse files

[Fix] Correction du problème d'affichage des tooltips au niveau des matrices...

[Fix] Correction du problème d'affichage des tooltips au niveau des matrices lorsqu'on clique sur le lien associé
parent b80c998b
Loading
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -11,3 +11,11 @@ use UnicaenUtilisateur\Entity\Db\RoleInterface;
 */

echo $this->perimetreCategorie($perimetreCategorie)->renderStatut($role); ?>

<script type="text/javascript">
    $(function () {
        $('[data-bs-toggle="tooltip"]').tooltip({
            html: true,
        });
    });
</script>
+3 −1
Original line number Diff line number Diff line
@@ -83,7 +83,9 @@ use UnicaenPrivilege\Provider\Privilege\PrivilegePrivileges;

        body.on('click', 'a.modifier-perimetre', function (e) {
            e.preventDefault();
            that = $(this);
            let that = $(this);
            let tooltip = bootstrap.Tooltip.getOrCreateInstance(this);
            tooltip.dispose();
            $.ajax({
                type: "GET",
                url: $(this).attr('href'),
+10 −1
Original line number Diff line number Diff line
@@ -11,3 +11,12 @@ use UnicaenUtilisateur\Entity\Db\RoleInterface;
 */

echo $this->privilege($privilege)->renderStatut($role); ?>

<script type="text/javascript">
    $(function () {
        $('[data-bs-toggle="tooltip"]').tooltip({
            html: true,
        });
    });
</script>
+3 −1
Original line number Diff line number Diff line
@@ -115,7 +115,9 @@ $this->headTitle("Gestion des privilèges");

        body.on('click', 'a.modifier-privilege', function (e) {
            e.preventDefault();
            that = $(this);
            let that = $(this);
            let tooltip = bootstrap.Tooltip.getOrCreateInstance(this);
            tooltip.dispose();
            $.ajax({
                type: "GET",
                url: $(this).attr('href'),