I think that I have found an error regarding queueSizeLimit + Firefox + Windows 7. On this environment Firefox gets hanged and it must be closed by task manager, all the other browsers works fine.
Also I test this issue on OS X (Leopard) and Windows XP, both using Firefox and there is no crash.
Hope someone can look up, I'm still trying to fix it. Regards.
Hi, I am having the same problem. Firefox will crash when the alert windows pops up. The javascript code is copied from the documentation example. No modifications are made to the downloaded Uploadify files.
OS: Windows 7 Professional Browser: Firefox 3.6.12 Uploadiy: 2.1.4 jQuery: 1.4.2
I was having this same problem. Removing this alert: "alert('The queue is full. The max size is ' + queueSizeLimit + '.');" in the uploadify.js file did the trick. Now there's no alert when the queue is full, but at least it doesn't crash and I just inform the user of the limit in a description above the select button.
Find: alert('The queue is full. The max size is ' + J+ '.'); Change: document.getElementById('_message').value='The queue is full. The max size is ' + J+ '.';
Or
'onQueueFull' : function (event,queueSizeLimit) { $('#IdMessageError%>').html("Only " + queueSizeLimit + " can be uploaded.");
I managed to get round this without altering the uploadify.js file itself. Right after you "uploadify" an element, unbind the full queue event and rebind a simpler version.
$(fImg).uploadify( // normal stuff and things ); // this gets around an uploadify bug with FF3.6 hanging on a full queue $(fImg).unbind( 'uploadifyQueueFull' ); $(fImg).bind( 'uploadifyQueueFull', {}, function ( ev, queueLimit ) { alert( 'The upload queue is full. The maximum number of files to select at once is ' + queueLimit + '.' ); });
I think the real issue is the (event.data.action(event, queueSizeLimit) !== false) conditional in the original handler. When that's eliminated, FF ceases to hang.