mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Issue #7818: Making sure UploadField can find the form/SecurityID on direct page load/refresh
This commit is contained in:
parent
7f605cfb54
commit
fd80c4fb3e
@ -152,6 +152,7 @@
|
||||
{
|
||||
fileInput: fileInput,
|
||||
dropZone: dropZone,
|
||||
form: $(fileInput).closest('form'),
|
||||
previewAsCanvas: false,
|
||||
acceptFileTypes: new RegExp(config.acceptFileTypes, 'i')
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user