• Nathan Friend's avatar
    Suppress AJAX errors caused by browser navigation · fef38145
    Nathan Friend authored
    This commit attempts to detect when errors are caused due to AJAX
    requests being cancelled when the user navigates to a new page. If this
    is the case, we swallow the error so that an error message isn't shown
    to the user a split second before they navigate away from the page.
    fef38145
gon_helper.rb 3.12 KB