From 9f38d65c6acb5b78faaa79e79e73af4a4d822700 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Thu, 24 Mar 2022 08:18:15 +0100 Subject: [PATCH] supprimer un bloc et des espaces --- module/gallery/view/config/config.php | 14 ++++++-------- module/gallery/view/edit/edit.js.php | 7 +++++-- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/module/gallery/view/config/config.php b/module/gallery/view/config/config.php index 91400a98..434dbca5 100644 --- a/module/gallery/view/config/config.php +++ b/module/gallery/view/config/config.php @@ -48,14 +48,12 @@
-
-

Galeries installées

- - 'galleryTable'],$module::$galleriesId); ?> - - - - + + 'galleryTable'],$module::$galleriesId); ?> + + + +
Version n° diff --git a/module/gallery/view/edit/edit.js.php b/module/gallery/view/edit/edit.js.php index e8f3ad9a..57505950 100644 --- a/module/gallery/view/edit/edit.js.php +++ b/module/gallery/view/edit/edit.js.php @@ -106,13 +106,16 @@ function sortPictures() { var url = "getUrl(0); ?>/sortPictures"; var d1 = $("#galleryEditFormResponse").val(); var d2 = $("#galleryEditFormGalleryName").val(); - //var data = $('#galleryEditForm').serialize(); $.ajax({ type: "POST", url: url , data: { response : d1, gallery: d2 - } + }, + error: function (xhr, ajaxOptions, thrownError) { + alert(xhr.status); + alert(thrownError); + } }); }