X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Felements%2Ffile-upload.html;h=f69df343c566928d402056c0d7570965be601486;hb=f2ee4eec34fea420c1c434194e410f31b6c9edb0;hp=2859a676f5b51e32b08555675576579674ec4f6c;hpb=6a24254d490f3d023728044daba0765f20f6971e;p=freeside.git diff --git a/httemplate/elements/file-upload.html b/httemplate/elements/file-upload.html index 2859a676f..f69df343c 100644 --- a/httemplate/elements/file-upload.html +++ b/httemplate/elements/file-upload.html @@ -1,10 +1,13 @@ - - +<&| onload.js &> +// force the form to submit as multipart +var thisform = document.getElementById('uploaded_files').form; +thisform.enctype = 'multipart/form-data'; +&> + + + + + - - % foreach (@field) { -