porting create form wizard to IE. IE wants form.encoding rather than form.enctype.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4060 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Ariel Backenroth
2006-10-08 00:45:23 +00:00
parent 429d9e273b
commit aee593e63c
2 changed files with 5 additions and 12 deletions

View File

@@ -30,6 +30,8 @@
{
el.form.method = "post";
el.form.enctype = "multipart/form-data";
// for IE
el.form.encoding = "multipart/form-data";
el.form.action = "<%= request.getContextPath() %>/uploadFileServlet";
el.form.submit();
return false;