When you tried to upload more than one file at once (e.g. one attachment and an image), only the first file uploaded successfully.
This bug has now been fixed.
The Domino part of the demo requires Dojo 1.4.1 (Domino 8.5.2 server), as it's hard coded in the HTML header. Modify it to suit your environment.
>> Download demoapp