Re: onSubmitCompleted issue?

2012-11-12 Thread Thomas Lefort
Hi Thomas, Thanks for the suggestion. I would have never thought of something like that! I tried your suggestion but unfortunately without success. That said, discussing always generates ideas and I had another look at the code. It turned out to be much more trivial than that: I was hiding the

Re: onSubmitCompleted issue?

2012-11-12 Thread Thomas Broyer
Because Content-Types are so often wrong on the internet (particularly when set to text/html or text/plain), browsers use content-sniffing. Because your response does not look like HTML, it might very-well be sniffed as text/plain by the browser, which will th

onSubmitCompleted issue?

2012-11-12 Thread Thomas Lefort
I implemented a simple image uploader which relies on the form panel. I pass an image file via a filupload widget and a multipart encoding to the server which then processes the image, stores it on the disk and returns the image file path as a text/html response. On the client side I have an on