From b7022af0953d6b702e963a83472f820bf15abb11 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Mon, 6 Apr 2020 14:30:26 +0200 Subject: [PATCH] =?UTF-8?q?[10.0.056]=20Erreur=20click=20galerie=20=C3=A0?= =?UTF-8?q?=20trier=20+=20aper=C3=A7u=20cliquable?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/gallery/gallery.php | 2 +- module/gallery/view/config/config.js.php | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/module/gallery/gallery.php b/module/gallery/gallery.php index 73fa1a63..1eacd4d0 100644 --- a/module/gallery/gallery.php +++ b/module/gallery/gallery.php @@ -274,7 +274,7 @@ class gallery extends common { template::text('legend[' . $fileInfos->getFilename() . ']', [ 'value' => $this->getData(['module', $this->getUrl(0), $this->getUrl(2), 'legend', str_replace('.','',$fileInfos->getFilename())]) ]), - '' + '' ]; } } diff --git a/module/gallery/view/config/config.js.php b/module/gallery/view/config/config.js.php index 3e4229eb..c79e46ce 100644 --- a/module/gallery/view/config/config.js.php +++ b/module/gallery/view/config/config.js.php @@ -25,8 +25,7 @@ $( document ).ready(function() { }); // Activer le bouton de tri uniquement après un tri -$("#galleryTable").click(function(e) { - e.preventDefault(); +$("#galleryTable").click(function() { if ($("#galleryConfigFilterResponse").val() != "") { $(":input[type='submit']").prop('disabled', false); }