• Nathan Friend's avatar
    Suppress AJAX errors caused by browser navigation · 2f591b3d
    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.
    2f591b3d
gon_helper.rb 3.12 KB