update:

i've removes this part of the code:

var targetInput = $('my_upload');
if(targetInput) {
  new XWiki.FileUploader(targetInput, {
    autoUpload: true,
    progressAutohide: true
  });
}

and all, that is left:

{{html}}
<form action="{{velocity}}${doc.getURL('upload')}{{/velocity}}"
enctype="mutipart/form-data" method="post">
<input type="file" name="file" id="my_upload" />
 </form>
{{/html}}


This resulted in the same upload error as if i had all previous code.
However, if in object editor i remove any object typed as
JavaScriptExtension, the code just does nothing (




--
View this message in context: 
http://xwiki.475771.n2.nabble.com/HTML5-File-Upload-tp7583955p7583959.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to