As discussed in #880300: Decide on a plupload module roadmap, here's a first draft of a patch to support using plupload to replace core upload.module's node file attachments form.

Known issues:
• after uploading a file, it doesn't appear as part of the table on the node edit form
• after uploading a file, saving the node results in a "somebody else edited this node" error

I'll try to investigate some more, but any feedback at this point would be appreciated.

Comments

greggles’s picture

Status: Active » Needs work

Better status. Great to see a patch here.

I wonder whether it should be a sub-module?

smokris’s picture

Status: Needs work » Needs review
StatusFileSize
new10.12 KB

Oh, good point. I moved the code into a submodule ("plupload_core"), and resolved the issues mentioned above along with a few others. No known issues currently.

smokris’s picture

StatusFileSize
new10.09 KB

Minor correction to above patch (JSON decoding that actually works on a clean Drupal installation).