The callback is probably not fully compatible, but apps are not supposed to use that function anyway.
Attach a file by drag & drop or click to upload