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 rightly so, without !status. 1496: return (status> = 200 & & status <300); --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype: Core" group. To post to this group, send email to prototype-core@googlegroups.com To unsubscribe from this group, send email to prototype-core-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en -~----------~----~----~----~------~----~------~--~---