summaryrefslogtreecommitdiff
path: root/httemplate/elements/file-upload.html
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2014-12-30 16:04:48 -0800
committerMark Wells <mark@freeside.biz>2014-12-30 16:04:48 -0800
commitf041c3f6e17bdacf8ad6b0da87342ef84e7db404 (patch)
treef80115a8f5dacff6395ee26fd91ded929ac1a613 /httemplate/elements/file-upload.html
parent63e6a91136d87591d57a7f4e006dbfb41906a02c (diff)
import deployment zone census block list, #32625
Diffstat (limited to 'httemplate/elements/file-upload.html')
-rw-r--r--httemplate/elements/file-upload.html5
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="" />