PDA

View Full Version : request.xhr onComplete



ValterBorges
31 May 2011, 9:49 AM
ext-all-debug-w-comments.js line 29,666.

result=me.parseStatus(request.xhr.status)

When request.timedout = true and request.xhr.status = "Unspecified error."

me.parseStatus(request.xhr.status) evaluates to Unspecified error and causes an uncaught error.

should the result be more on the lines of "timedout".

It seems the check for request.timedout is further down in an else but should it be at the top so the parseStatus doesn't blow up.

ValterBorges
31 May 2011, 9:50 AM
By the way it's version 4.0.0.