You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 14, 2019. It is now read-only.
Template.myForm.events({'change .myFileInput': function(event,template){FS.Utility.eachFile(event,function(file){Images.insert(file,function(err,fileObj){//If !err, we have inserted new doc with ID fileObj._id, and//kicked off the data upload using HTTP});});}});
Note that this works regardless of whether the file input accepts multiple files.