From 0ec7a8dc4e89460c48f6ed08cee5b7dac63e88b9 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Fri, 1 Apr 2022 10:10:15 +0200 Subject: [PATCH] Gallery sort bug OKAY --- module/gallery/view/config/config.js.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/module/gallery/view/config/config.js.php b/module/gallery/view/config/config.js.php index 95509907..31db6636 100644 --- a/module/gallery/view/config/config.js.php +++ b/module/gallery/view/config/config.js.php @@ -21,12 +21,8 @@ $( document ).ready(function() { $("#galleryTable").tableDnD({ onDrop: function(table, row) { $("#galleryConfigFilterResponse").val($.tableDnD.serialize()); - }, - onDragStop : function(table, row) { - // Affiche le bouton de tri après un déplacement - //$(":input[type='submit']").prop('disabled', false); - // Sauvegarde le tri sortGalleries(); + location.reload(); }, // Supprime le tiret des séparateurs serializeRegexp: ""