From 4aadb02de3663d5ee06c81b73a8642e2dfbb8c62 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Fri, 2 Sep 2022 18:07:38 +0200 Subject: [PATCH] =?UTF-8?q?La=20confirmation=20de=20la=20suppression=20de?= =?UTF-8?q?=20page=20supprim=C3=A9e=20de=20core.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.js.php | 3 ++- core/module/page/view/edit/edit.js.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/core/core.js.php b/core/core.js.php index 0902fb70..d484b3fc 100644 --- a/core/core.js.php +++ b/core/core.js.php @@ -374,7 +374,7 @@ core.start(); /** * Confirmation de suppression - */ + $("#pageDelete").on("click", function() { var _this = $(this); message = ""; @@ -382,6 +382,7 @@ $("#pageDelete").on("click", function() { $(location).attr("href", _this.attr("href")); }); }); +*/ /** * Calcul de la luminance relative d'une couleur diff --git a/core/module/page/view/edit/edit.js.php b/core/module/page/view/edit/edit.js.php index 6185b2a5..52549536 100644 --- a/core/module/page/view/edit/edit.js.php +++ b/core/module/page/view/edit/edit.js.php @@ -14,7 +14,7 @@ /** * Confirmation de suppression - */ +*/ $("#pageEditDelete").on("click", function() { var _this = $(this); return core.confirm("Confirmez-vous la suppression de cette page ?", function() {