Issue #7818: Making sure UploadField can find the form/SecurityID on direct page load/refresh

This commit is contained in:
Nathan Cox 2012-11-01 15:19:31 +13:00 committed by Ingo Schommer
parent 7f605cfb54
commit fd80c4fb3e

View File

@ -152,6 +152,7 @@
{
fileInput: fileInput,
dropZone: dropZone,
form: $(fileInput).closest('form'),
previewAsCanvas: false,
acceptFileTypes: new RegExp(config.acceptFileTypes, 'i')
}