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() {