mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUG Temporarily disable overwrite warning on HtmlEditorField "insert media" dialogue until this feature properly supports validation error recovery.
This commit is contained in:
parent
dbc2b62c69
commit
78bd73d40d
@ -426,6 +426,8 @@ class HtmlEditorField_Toolbar extends RequestHandler {
|
||||
$computerUploadField->removeExtraClass('ss-uploadfield');
|
||||
$computerUploadField->setTemplate('HtmlEditorField_UploadField');
|
||||
$computerUploadField->setFolderName(Config::inst()->get('Upload', 'uploads_folder'));
|
||||
// @todo - Remove this once this field supports display and recovery of file upload validation errors
|
||||
$computerUploadField->setOverwriteWarning(false);
|
||||
|
||||
$tabSet = new TabSet(
|
||||
"MediaFormInsertMediaTabs",
|
||||
|
Loading…
Reference in New Issue
Block a user