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