Uploadify stalling on uploads on Internet Explorer 8

For some reason, calling .hide() on my #uploadify div was causing uploads to stall after the #uploadify div was shown.

Very strange bug, eh? The hacky solution is instead to use div.height on #file_uploadUploader instead of .hide() and .show() on #uploadify

// To hide uploadify
$("#file_uploadUploader").height(0);
 
// To show uploadify
$("#file_uploadUploader").height(30);

If you want to hide #file_uploadUploader when the page loads, use the onSWFReady callback.

Hope this saves someone a headache.

Leave a Reply

Your email address will not be published. Required fields are marked *