It looks like you're new here. If you want to get involved, click one of these buttons!
doctor_claw said:this is apparently a consequence of using flash 10. i have discovered that it is possible to place the flash piece inside an absolutely positioned div. by controlling the parent element's height/width one can effectively hide/show the flash piece without disrupting its behaviour.
// Check if the uploader element is present to avoid errors
var fileUploadElement = $('#optionsUploader').size();
// Check if there are any visible items or in other words, files to be uploaded ;)
var fileUploadItems = $('.fileUploadQueueItem:visible').size();
...
if( fileUploadElement>0 && fileUploadItems>0 ){
// Using Try just in case something goes wrong to avoid errors
try {
if( confirm(\"---question---\") ){
$('#optionsUploader').fileUploadClearQueue();
} else {
return false;
}
} catch(err) {
plugin_exists = false;
}
}
...