diff --git a/modules/system/assets/js/framework.js b/modules/system/assets/js/framework.js index 06c7e71e4..1829dc49e 100644 --- a/modules/system/assets/js/framework.js +++ b/modules/system/assets/js/framework.js @@ -103,14 +103,18 @@ if (window.jQuery === undefined) if (isUnloading) return + /* + * Disable redirects + */ + isRedirect = false + options.redirect = null + /* * Error 406 is a "smart error" that returns response object that is * processed in the same fashion as a successful response. */ if (jqXHR.status == 406 && jqXHR.responseJSON) { errorMsg = jqXHR.responseJSON['X_OCTOBER_ERROR_MESSAGE'] - isRedirect = false - options.redirect = null updatePromise = requestOptions.handleUpdateResponse(jqXHR.responseJSON, textStatus, jqXHR) } /*