From aee4952dfda79e9cd5ec1bf530b41b73649af8c8 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Tue, 14 Apr 2020 13:44:06 +0200 Subject: [PATCH] =?UTF-8?q?Ne=20pas=20d=C3=A9couper=20les=20noms=20de=20fi?= =?UTF-8?q?chiers=20avec=20des=20=5F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/gallery/view/config/config.js.php | 2 +- module/gallery/view/edit/edit.js.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/gallery/view/config/config.js.php b/module/gallery/view/config/config.js.php index 75f3a8a9..e70e5acc 100644 --- a/module/gallery/view/config/config.js.php +++ b/module/gallery/view/config/config.js.php @@ -29,7 +29,7 @@ $( document ).ready(function() { sort(); }, // Supprime le tiret des séparateurs - serializeRegexp: "[^\_]*$" + serializeRegexp: "[^\]*$" }); diff --git a/module/gallery/view/edit/edit.js.php b/module/gallery/view/edit/edit.js.php index 0f62c949..cc67814b 100644 --- a/module/gallery/view/edit/edit.js.php +++ b/module/gallery/view/edit/edit.js.php @@ -65,7 +65,7 @@ $( document ).ready(function() { onDrop: function(table, row) { $("#galleryEditFormResponse").val($.tableDnD.serialize()); }, - serializeRegexp: "[^\_]*$" + serializeRegexp: "[^\]*$" }); if ($("#galleryEditSort").val() !== "SORT_HAND") {