Fix trac ticket #3120. (cherry picked from commit 4b1c9b72)
Attach a file by drag & drop or click to upload