#3500 new
Alexander Lisovtsov

Ajax.Updater.success

Reported by Alexander Lisovtsov | August 2nd, 2013 @ 12:05 AM

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.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Prototype JavaScript library.

Shared Ticket Bins

People watching this ticket

Pages