Comment 3 for bug 381561

Revision history for this message
Deryck Hodge (deryck) wrote : Re: Adding an attachment should be done using an non-AJAX overlay

"hard" is not the right word. "nonexistent" might be better. In other words, you cannot do file uploads via AJAX. You need either a hidden iframe or flash widget to do the upload. Using a hidden iframe while some ajax-like js widget shows the progress bar is the usual approach to this.

IIRC, yui3 didn't have any support for this at the time Bjorn filed this bug. There is now an io-upload-iframe module that makes this easy to do. http://developer.yahoo.com/yui/3/io/#upload

Cheers,
deryck