returns a boolean true/false
----- Original Message ----- 
From: "foolged" <fool...@gmail.com>
To: "Prototype & script.aculo.us" <prototype-scriptaculous@googlegroups.com>
Sent: Wednesday, July 15, 2009 8:24 PM
Subject: [Proto-Scripty] checked !status in line 1496? (prototype-1.6.1.RC3)


>
>
> 1494: success: function() {
> 1495:   var status = this.getStatus();
> 1496:   return !status || (status >= 200 && status < 300);
> 1497: }
>
> prototype-1.6.1.RC3
>
> Why  !status  checked in line 1496?
> Because of this, an event onFailure not triggered when the status is
> 0.
>
> >
> 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to