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

2009-07-16 Thread foolged
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

[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