-
Notifications
You must be signed in to change notification settings - Fork 645
Closed
Description
previous lighthouse ticket #3500
by Alexander Lisovtsov
Ajax.Request.success has bug in :
success: function() {
var status = this.getStatus();
return !status || (status >= 200 && status < 300) || status == 304;
},
getStatus: function() {
try {
if (this.transport.status === 1223) return 204;
return this.transport.status || 0;
} catch (e) { return 0 }
},
If getStatus == 0 then success function return true and Ajax.Updater every time update a success div.
On IPAD4 with IOS 6.1.3 when connection to server LOST -> Ajax.Updater update a "success" DIV with empty response.
Metadata
Metadata
Assignees
Labels
No labels