[jQuery] Re: Ajax timeout doesn't call error function?

2009-04-21 Thread PanMan
errorType occur"); >     }, > ... > > Maurício >   -Mensagem Original----- >   De: Martijn Houtman >   Para: jquery-en@googlegroups.com >   Enviada em: segunda-feira, 20 de abril de 2009 10:47 >   Assunto: [jQuery] Re: Ajax timeout doesn't call error function? > &g

[jQuery] Re: Ajax timeout doesn't call error function?

2009-04-20 Thread Mauricio (Maujor) Samy Silva
"Could not load stuff - Another errorType occur"); }, ... Maurício -Mensagem Original- De: Martijn Houtman Para: jquery-en@googlegroups.com Enviada em: segunda-feira, 20 de abril de 2009 10:47 Assunto: [jQuery] Re: Ajax timeout doesn't call error function?

[jQuery] Re: Ajax timeout doesn't call error function?

2009-04-20 Thread Martijn Houtman
Hey PanMan, On Apr 20, 2009, at 12:28 PM, PanMan wrote: This works, but the error is never thrown. If I change the URL to something that's broken, I do get the error message, but on timeout it never happens. Am I doing anything wrong? Or is this a bug somewhere? No, this is not a bug. A timeo

[jQuery] Re: Ajax timeout doesn't call error function?

2009-04-20 Thread PanMan
On Apr 20, 3:03 pm, "Mauricio \(Maujor\) Samy Silva" wrote: > > Hi! > > I'm trying to setup an ajax call which throws an error on timeout. > ... > > "timeout": 1, > > "error": function(d,msg) { > >          alert("Could not load stuff"); > >      }, > ... > > This works, but the error is nev

[jQuery] Re: Ajax timeout doesn't call error function?

2009-04-20 Thread Mauricio (Maujor) Samy Silva
Hi! I'm trying to setup an ajax call which throws an error on timeout. ... "timeout": 1, "error": function(d,msg) { alert("Could not load stuff"); }, ... This works, but the error is never thrown. If I change the URL to something that's broken, I do get the error message, b