[Prototype-core] Re: checked !status in line 1496? (prototype-1.6.1.RC3)

2009-08-17 Thread foolged
Thank you for your reply. Sorry for the delay in replying. I do not fully understand your answer, I investigate and respond. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype: Core group. To post to this

[Prototype-core] Re: checked !status in line 1496? (prototype-1.6.1.RC3)

2009-07-16 Thread Richard Quadling
2009/7/16 foolged fool...@gmail.com: 1494: success: function() { 1495:   var status = this.getStatus(); 1496:   return !status || (status = 200 status 300); 1497: } Why  !status  checked in line 1496? Because of this, an event onFailure not triggered when the status is == 0. IMHO