diff options
Diffstat (limited to 'httemplate/elements/file-upload.html')
-rw-r--r-- | httemplate/elements/file-upload.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/httemplate/elements/file-upload.html b/httemplate/elements/file-upload.html index 034eaec38..f69df343c 100644 --- a/httemplate/elements/file-upload.html +++ b/httemplate/elements/file-upload.html @@ -47,6 +47,11 @@ } } +<&| onload.js &> +// force the form to submit as multipart +var thisform = document.getElementById('uploaded_files').form; +thisform.enctype = 'multipart/form-data'; +</&> </SCRIPT> <INPUT TYPE="hidden" NAME="uploaded_files" ID="uploaded_files" VALUE="" /> |