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