提交 d91aaebd 编写于 作者: K Kohsuke Kawaguchi

define a header that enables 503 pages to disengage applySafeRedirector.

上级 e8763e4b
......@@ -2132,7 +2132,7 @@ function applySafeRedirector(url) {
new Ajax.Request(url, {
method: "get",
onFailure: function(rsp) {
if(rsp.status==503) {
if(rsp.status==503 && rsp.getHeader("X-Jenkins-Interactive")==null) {
// redirect as long as we are still loading
window.setTimeout(statusChecker,5000);
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册