Hans -- Could you please post a link to your application? That way I can actively debug your code. It is hard to guess what the problem might be otherwise.
Thanks, Ben 2008/10/5 Hans <[EMAIL PROTECTED]> > > Hello, > > i do someplaying whit this script: > > http://www.scriptorama.nl/javascript/gears-04-httprequest-met-progress-events > to upload more than 1 file. > > There is only one problem when i start to upload more than one file i > get the error: > Fout: [Exception... "'Error: Request is already open.' when calling > method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001c > (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "<unknown>" data: no] > > When i put a window.alert() near: request.open('POST', 'upload.php'); > all go's well. > I try to trigger the error by putting i do while loop till > request.readyState != 1 (not nice) but that did not help. > > I script wait near uploadProgressChange(event) did not help. > > Some one has a hint. > > Thanks in advance >
