seems that his piece of doc was always wrong (no such error in the code)
Attach a file by drag & drop or click to upload