提交 0d6d3e3a 编写于 作者: M mindless

[FIXED HUDSON-2991] show more compact error msg for missing help


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@27239 71c3de6d-444a-0410-be80-ed276b4c234a
上级 c5b30091
......@@ -469,8 +469,11 @@ var hudsonRules = {
// make it visible
new Ajax.Request(this.getAttribute("helpURL"), {
method : 'get',
onComplete : function(x) {
onSuccess : function(x) {
div.innerHTML = x.responseText;
},
onFailure : function(x) {
div.innerHTML = "<b>ERROR</b>: Failed to load help file: " + x.statusText;
}
});
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册