knownasilya / ember-plupload

Ember component for handling uploads using plupload
MIT License
87 stars 53 forks source link

file size on IE9 #30

Closed mgrigis closed 9 years ago

mgrigis commented 9 years ago

Hi, I got a problem in IE9 when i upload a doc, i call a callback method (UploadDoc) with a pluploadFile parameter. However size attributer is not defined (file.file.size, see that in screen).

In all other browser (FF, Chrome, IE10, IE11) size attribute is present.

plupload_file_size

This is my handlebars :


{{#pl-uploader name="docUploader" class="doc-uploader" extensions="pdf doc docx xls xlsx ppt pptx" runtimes="html4 flash" for="newDoc" when-queued="uploadDoc" max-file-size="10240kb" as |queue dropzone|}}
    <a class="btn btn-primary" title="browse" id="newDoc">browse</a>
{{/pl-uploader}}
mgrigis commented 9 years ago

it s not supported in plupload, i think that we couldn't do anything for this (i will patch my app in order to calculate size on server side)

tim-evans commented 9 years ago

Yeah. Sorry :<

Uploads are still painful without html5

mgrigis commented 9 years ago

Can be closed