提交 57819376 编写于 作者: K kohsuke

removed clock from the config screen as the same information is available in the node list view.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@5755 71c3de6d-444a-0410-be80-ed276b4c234a
上级 6c57a3e4
......@@ -1699,19 +1699,6 @@ public final class Hudson extends View implements ItemGroup<TopLevelItem>, Node
}.process();
}
/**
* Check the clock difference between slave and this node.
*/
public void doCheckClock( StaplerRequest req, StaplerResponse rsp ) throws IOException, ServletException {
new FormFieldValidator(req,rsp,false) {
public void check() throws IOException, ServletException {
response.setContentType("text/html");
response.getWriter().print(
ClockDifference.toHtml(getSlave(request.getParameter("node"))));
}
}.process();
}
/**
* Checks if the JAVA_HOME is a valid JAVA_HOME path.
*/
......
......@@ -87,18 +87,6 @@
<s:textbox name="slave.label" value="${s.labelString}" />
</s:entry>
<j:if test="${s!=null}">
<s:entry title="clock" help="/help/system-config/master-slave/clock.html">
<j:set var="id" value="${h.generateId()}"/>
<div id="${id}">
<img src="${imagesURL}/spinner.gif"/> checking clock
</div>
<script>
FormChecker.delayedCheck("./checkClock?node=${s.nodeName}", "post", $$('${id}') );
</script>
</s:entry>
</j:if>
<s:entry title="">
<div align="right">
<s:repeatableDeleteButton />
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册