summaryrefslogtreecommitdiff
path: root/httemplate/elements/file-upload.html
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2014-12-30 16:02:14 -0800
committerMark Wells <mark@freeside.biz>2014-12-30 16:05:00 -0800
commitf25c596ba479c7c5cebcfd4447bb0db9c70a1e06 (patch)
tree8d21cc106e6d088bb4a34e8f53a967a54ed214ec /httemplate/elements/file-upload.html
parentde5fa0a86c7ea64d699c68d3e39219b63e4614f8 (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="" />