@@ -117,7 +117,7 function uploadBlob(blob, uploadUrl, attachmentId, options) { | |||
|
117 | 117 | function addInputFiles(inputEl) { |
|
118 | 118 | var clearedFileInput = $(inputEl).clone().val(''); |
|
119 | 119 | |
|
120 | if (inputEl.files) { | |
|
120 | if ('FileReader' in window && inputEl.files) { | |
|
121 | 121 | // upload files using ajax |
|
122 | 122 | uploadAndAttachFiles(inputEl.files, inputEl); |
|
123 | 123 | $(inputEl).remove(); |
General Comments 0
You need to be logged in to leave comments.
Login now