From ab619ab0beb6e0941d9d5d16556dad17a9f1de45 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Sat, 11 Apr 2020 20:03:59 +0200 Subject: [PATCH] =?UTF-8?q?gallery=202.3=20d=C3=A9sactivation=20du=20drag?= =?UTF-8?q?=20and=20drop=20incomplet=20si=20pas=20de=20tri=20manuel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/gallery/view/edit/edit.js.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/gallery/view/edit/edit.js.php b/module/gallery/view/edit/edit.js.php index 73654ece..16f5f529 100644 --- a/module/gallery/view/edit/edit.js.php +++ b/module/gallery/view/edit/edit.js.php @@ -71,10 +71,10 @@ $( document ).ready(function() { $("#galleryEditSort").change(function() { if ($("#galleryEditSort").val() !== "SORT_HAND") { - $("#galleryTable > tbody > tr").addClass("nodrag"); + $("#galleryTable tr").addClass("nodrag nodrop"); $("#galleryTable").tableDnDUpdate(); } else { - $("#galleryTable > tbody > tr").removeClass("nodrag"); + $("#galleryTable tr").removeClass("nodrag nodrop"); $("#galleryTable").tableDnDUpdate(); } });