##// END OF EJS Templates
stricter check of uploading attachments (#17581)...
Toshi MARUYAMA -
r13041:98589f0ecda4
parent child
Show More
@@ -119,7 +119,7 function uploadBlob(blob, uploadUrl, attachmentId, options) {
119 119 function addInputFiles(inputEl) {
120 120 var clearedFileInput = $(inputEl).clone().val('');
121 121
122 if (inputEl.files) {
122 if ($.ajaxSettings.xhr().upload && inputEl.files) {
123 123 // upload files using ajax
124 124 uploadAndAttachFiles(inputEl.files, inputEl);
125 125 $(inputEl).remove();
General Comments 0
You need to be logged in to leave comments. Login now