Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Issue #7818: Making sure UploadField can find the form/SecurityID on …

…direct page load/refresh
  • Loading branch information...
commit fd80c4fb3e1f42aecd8dc4e61a6b95d10a6e2f0f 1 parent 7f605cf
@nathancox nathancox authored chillu committed
Showing with 1 addition and 0 deletions.
  1. +1 −0  javascript/UploadField.js
View
1  javascript/UploadField.js
@@ -152,6 +152,7 @@
{
fileInput: fileInput,
dropZone: dropZone,
+ form: $(fileInput).closest('form'),
previewAsCanvas: false,
acceptFileTypes: new RegExp(config.acceptFileTypes, 'i')
}
Please sign in to comment.
Something went wrong with that request. Please try again.