views:

99

answers:

4

Hi,

I'm using four JQuery Uploadify browse buttons on a page that's calling the Uploadify code/buttons through Ajax. We have a javascript function called from onComplete which refreshes the Ajax page. The problem we're encountering is that when you start uploading one file, if you click browse to upload another file, Firefox will crash when selecting the second file.

Any help is appreciated. Thanks!

A: 

The solution I ended up with was to just hide the other buttons while an upload is in progress.

droidy
A: 

Is there a reason you wouldn't use the built-in multiple-file upload functionality that Uploadify allows? In most cases it's as simple as setting:

'multi' : true
epalla
Yes, because we need different types of documents, such as one upload button for resumes, another for cover letters, etc.
droidy
A: 

Can you please post the code for the solution - did you use onProgress method to hide other buttons when an upload is in progress?

Radhika
A: 

Hi,

I've had some luck following this: http://stackoverflow.com/questions/1399654/oncomplete-and-oncompleteall-events-failing-to-fire-when-using-uploadify

Specifically, for any custom handlers, don't put their names in quotes:

onComplete : ender //all good

'onComplete' : ender //crash-tastic

I have no idea why..

Nathaniel