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