-
-
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);
+ }
});
}