X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Felements%2Ffile-upload.html;h=f69df343c566928d402056c0d7570965be601486;hb=d4114381c5d95e8acd0d0fc2bbc2b3528bde2ecf;hp=034eaec3833821fc6c5ddf70a7e06f250aff39a2;hpb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c;p=freeside.git 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'; +