Fix trac ticket #2899. (cherry picked from commit 7b0a5873)
Attach a file by drag & drop or click to upload