cmlenz/jquery-iframe-transport

Incompatibility with PECL uploadprogress

Closed this issue · 0 comments

Hi,

this transport works great for uploading files but in it's current state is incompatible with PECL uploadprogress library when using "data" attribute to submit the UPLOAD_IDENTIFIER parameter.

The UPLOAD_IDENTIFIER needs to be inserted before the file input otherwise the uploadprogress won't work. I managed to solve this by changing "appendTo" to "prependTo" on line 153. Maybe this change should make it to stable version or maybe only for UPLOAD_IDENTIFIER data?

Best
Jan