Skip to content

Commit

Permalink
Merge pull request #310 from concretecms/fix-11691
Browse files Browse the repository at this point in the history
  • Loading branch information
aembler authored Oct 4, 2023
2 parents c498152 + 73efa8d commit e3f93fe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions assets/cms/js/file-manager/uploader.js
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,12 @@
directoryId = parseInt(fileUploader.options.folderID())
}

// Fix in #11691
const $directoryInput = $('<input />').attr('type', 'hidden').attr('name', 'fileUploaderDirectoryId').val(directoryId)
$column.append($directoryInput)

/*
// Commented out for the time being to fix #11691
const $directoryContainer = $('<div/>')
.attr('style', 'min-height: 200px')
$directoryContainer.html('<concrete-file-directory-input input-label="Upload files to" :directory-id="' + directoryId + '" input-name="uploadDirectoryId" :show-add-directory-button="true" @change="currentFolder = $event"></concrete-file-directory-input>')
Expand All @@ -411,6 +417,7 @@
}
})
})
*/

$row.append($column)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@concretecms/bedrock",
"version": "1.4.8",
"version": "1.4.9",
"description": "The asset framework and dependencies for Concrete CMS.",
"scripts": {
"lint": "standardx \"**/*.{js,vue}\" && stylelint assets/**/*.{scss,vue}",
Expand Down

0 comments on commit e3f93fe

Please sign in to comment.