Fixes ticket #3495. (cherry picked from commit e6fe804b)
Attach a file by drag & drop or click to upload