Skip to content

Commit

Permalink
Fix JENKINS-19583
Browse files Browse the repository at this point in the history
Don't put PROJECT_DEFAULT_RECIPIENTS into the field by default
  • Loading branch information
slide committed Sep 13, 2013
1 parent 213c09b commit 23e5ab8
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -13,11 +13,10 @@ f.entry(title: _("Send To"), help:"help") {
f.checkbox(name: "sendToDevs", title: _("Developers"), checked: instance != null ? instance.email.sendToDevelopers : descriptor.defaultSendToDevs)
f.checkbox(name: "sendToRequestor", title: _("Requestor"), checked: instance != null ? instance.email.sendToRequester : descriptor.defaultSendToRequester)
f.checkbox(name: "sendToCulprits", title: _("Culprits"), checked: instance != null ? instance.email.sendToCulprits : descriptor.defaultSendToCulprits)
/*f.checkbox(name: "send_to_culprits", title: _("Culprits"), checked: instance != null ? instance.email.includeCulprits : false) */
f.advanced() {
st.include(it: instance, class: descriptor.clazz, page: "local-config", optional: true)
f.entry(title: _("Recipient List"), help: "/plugin/email-ext/help/projectConfig/mailType/recipientList.html") {
f.textbox(name: "recipientList", value: instance != null ? instance.email.recipientList : "\$PROJECT_DEFAULT_RECIPIENTS")
f.textbox(name: "recipientList", value: instance != null ? instance.email.recipientList : "")
}
f.entry(title: _("Reply-To List"), help: "/plugin/email-ext/help/projectConfig/mailType/replyToList.html") {
f.textbox(name: "replyTo", value: instance != null ? instance.email.replyTo : "\$PROJECT_DEFAULT_REPLYTO")
Expand Down

0 comments on commit 23e5ab8

Please sign in to comment.