diff --git a/assets/cms/js/file-manager/uploader.js b/assets/cms/js/file-manager/uploader.js index 933cb493..aace52b7 100644 --- a/assets/cms/js/file-manager/uploader.js +++ b/assets/cms/js/file-manager/uploader.js @@ -390,6 +390,12 @@ directoryId = parseInt(fileUploader.options.folderID()) } + // Fix in #11691 + const $directoryInput = $('').attr('type', 'hidden').attr('name', 'fileUploaderDirectoryId').val(directoryId) + $column.append($directoryInput) + + /* + // Commented out for the time being to fix #11691 const $directoryContainer = $('
') .attr('style', 'min-height: 200px') $directoryContainer.html('