Fix trac ticket #3315. (cherry picked from commit 2dc5980d)
Attach a file by drag & drop or click to upload