Solution: add workaround at another place, unify two code fragments to remove duplication
Attach a file by drag & drop or click to upload