提交 dff2d7dc 编写于 作者: K kohsuke

modified to infer the default value for Hudson URL when none is set.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2399 71c3de6d-444a-0410-be80-ed276b4c234a
上级 08e79738
......@@ -18,7 +18,7 @@
<f:entry title="Hudson URL"
help="/help/tasks/mailer/url.html">
<input class="setting-input" name="mailer_hudson_url"
type="text" value="${descriptor.url}"/>
type="text" value="${h.ifThenElse(descriptor.url!=null,descriptor.url,h.inferHudsonURL(request))}"/>
</f:entry>
<!--f:advanced-->
<f:optionalBlock name="mailer.useSMTPAuth" title="Use SMTP Authentication" checked="${descriptor.smtpAuthUserName!=null}"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册