fixes #2237 added a temporary parameter to pwg.images.setInfo

it's also adapted in the batch manager unit js file
This commit is contained in:
Linty
2024-11-05 18:20:42 +01:00
parent a6446be4be
commit bc0a4bb107
2 changed files with 17 additions and 2 deletions
+3 -2
View File
@@ -357,7 +357,7 @@ function saveChanges(pictureId) {
// Get Tags
let tags = [];
$("#picture-" + pictureId + " #tags option").each(function () {
let tagId = $(this).val().replace(/~~/g, '');
let tagId = $(this).val();
tags.push(tagId);
});
let tagsStr = tags.join(',');
@@ -369,7 +369,8 @@ function saveChanges(pictureId) {
date_creation: date_creation,
comment: comment,
categories: categoriesStr,
tag_ids: tagsStr,
// tag_ids: tagsStr,
tag_list: tags,
level: level,
single_value_mode: "replace",
multiple_value_mode: "replace",