From c0c3d22d7720f13929b8237cea3eec2e6975e7ad Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Mon, 6 Apr 2020 14:17:25 +0200 Subject: [PATCH] =?UTF-8?q?[10.0.056]=20Erreur=20click=20galerie=20=C3=A0?= =?UTF-8?q?=20trier?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.php | 2 +- module/gallery/view/config/config.js.php | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/core/core.php b/core/core.php index ba6398f2..4dbdd55e 100644 --- a/core/core.php +++ b/core/core.php @@ -36,7 +36,7 @@ class common { const THUMBS_SEPARATOR = 'mini_'; // Numéro de version - const ZWII_VERSION = '10.0.055'; + const ZWII_VERSION = '10.0.056'; const ZWII_UPDATE_CHANNEL = "v10"; public static $actions = []; diff --git a/module/gallery/view/config/config.js.php b/module/gallery/view/config/config.js.php index 1957247c..3e4229eb 100644 --- a/module/gallery/view/config/config.js.php +++ b/module/gallery/view/config/config.js.php @@ -25,9 +25,11 @@ $( document ).ready(function() { }); // Activer le bouton de tri uniquement après un tri -$("#galleryTable").mouseup(function(e) { +$("#galleryTable").click(function(e) { e.preventDefault(); - $(":input[type='submit']").prop('disabled', false); + if ($("#galleryConfigFilterResponse").val() != "") { + $(":input[type='submit']").prop('disabled', false); + } }); /**