PDA

View Full Version : [v4.0.1] Upload problem with Safari and Mac OS X Leopard



masterix
29 May 2011, 7:34 AM
I'm trying to work with the FileField (Ext.form.Panel), but with Mac OS X Leopard i can't.

No errors or warnings: it remain always in loading status, simply.

I found the problem in my scripts, but the problem is the same there: http://dev.sencha.com/deploy/ext-4.0.0/examples/form/file-upload.html

The only difference between your sample code and my script is this error:
You're trying to decode and invalid JSON String: {success:true, file:"my file.jpg"}, but this error could be resolved changing the "application/json" header with "text/html".

It's important to understand that script works correctly over Windows (with Safari too): to see the error you need to use Mac OS X Leopard.

Any help? Thank you

masterix
8 Jun 2011, 3:51 PM
any idea?

Justin Noel
9 Jun 2011, 4:08 AM
I tried the link you gave and it worked fine.

Safari 5.0.5 on Snow Leopard (10.6.7).