Fixes issue 2638. (cherry picked from commit fd085bc0)
Attach a file by drag & drop or click to upload