Project

General

Profile

Bug #3691

Updated by Tom Clegg over 9 years ago

In fail callbacks, check @jqxhr.readyState@ and @status == 'abort'@ to determine whether the request was terminated by a user action (like navigating away from the current page) rather than an application/network error. 

 In this case, correct behavior is something like 
 * Show a distinct message like "(cancelled)" that doesn't look like an error, or 
 * Don't display anything, just clean up internal state and stop. 

Back