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