提交 6f4b467d 编写于 作者: N Nicolas De loof

Merge pull request #1608 from ndeloof/JENKINS-27436

[FIXED JENKINS-27436] <form> elements can’t be nested
......@@ -25,9 +25,9 @@ THE SOFTWARE.
<j:jelly xmlns:j="jelly:core" xmlns:f="/lib/form">
<j:invokeStatic var="ds" className="jenkins.model.DownloadSettings" method="get"/>
<form method="post" action="${ds.useBrowser ? 'checkUpdates' : 'checkUpdatesServer'}">
${%lastUpdated(app.updateCenter.lastUpdatedString)}
<f:submit value="${%Check now}" />
</form>
${%lastUpdated(app.updateCenter.lastUpdatedString)}
<f:link href="${ds.useBrowser ? 'checkUpdates' : 'checkUpdatesServer'}" post="true" clazz="yui-button yui-submit-button submit-button primary">
<button>${%Check now}</button>
</f:link>
</j:jelly>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册