Loading module/Intervenant/view/intervenant/note/index.phtml +16 −1 Changes for module/Intervenant/view/intervenant/note/index.phtml: 16 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -198,24 +198,39 @@ $this->headTitle()->append($title = "Notes sur l'intervenant"); $(function () { $("body").on("note-edition", function (event, data) { str = window.location.href; event.div.modal('hide'); // ferme la fenêtre modale if (str.indexOf("tab=notes") !== -1) { window.location.reload(); } else { window.location.assign(window.location.href + '?tab=notes'); } window.location.reload(); }); $("body").on("note-suppression", function (event, data) { str = window.location.href; event.div.modal('hide'); // ferme la fenêtre modale if (str.indexOf("tab=notes") !== -1) { window.location.reload(); } else { window.location.assign(window.location.href + '?tab=notes'); } }); $("body").on("note-envoi-email", function (event, data) { str = window.location.href; event.div.modal('hide'); // ferme la fenêtre modale if (str.indexOf("tab=notes") !== -1) { window.location.reload(); } else { window.location.assign(window.location.href + '?tab=notes'); } }); }); </script> Loading
module/Intervenant/view/intervenant/note/index.phtml +16 −1 Changes for module/Intervenant/view/intervenant/note/index.phtml: 16 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -198,24 +198,39 @@ $this->headTitle()->append($title = "Notes sur l'intervenant"); $(function () { $("body").on("note-edition", function (event, data) { str = window.location.href; event.div.modal('hide'); // ferme la fenêtre modale if (str.indexOf("tab=notes") !== -1) { window.location.reload(); } else { window.location.assign(window.location.href + '?tab=notes'); } window.location.reload(); }); $("body").on("note-suppression", function (event, data) { str = window.location.href; event.div.modal('hide'); // ferme la fenêtre modale if (str.indexOf("tab=notes") !== -1) { window.location.reload(); } else { window.location.assign(window.location.href + '?tab=notes'); } }); $("body").on("note-envoi-email", function (event, data) { str = window.location.href; event.div.modal('hide'); // ferme la fenêtre modale if (str.indexOf("tab=notes") !== -1) { window.location.reload(); } else { window.location.assign(window.location.href + '?tab=notes'); } }); }); </script>