Skip to content
Permalink
Browse files
Fix JENKINS-19585
Fixed issue with contentType stuff
  • Loading branch information
slide committed Sep 13, 2013
1 parent 23e5ab8 commit 87d4e30a5fdf6e6c1126f91a95b3eb1b4069e24f
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/main/resources/hudson/plugins/emailext/plugins/EmailTrigger/config.groovy
@@ -23,9 +23,9 @@ f.entry(title: _("Send To"), help:"help") {
}
f.entry(title: _("Content Type"), help: "/plugin/email-ext/help/projectConfig/contentType.html") {
select(name: "contentType", class: "setting-input") {
f.option(selected: 'project'==instance?.email.contentType, value: "project", _("Project Content Type"))
f.option(selected: 'text/plain'==instance?.email.contentType, value: "text/plain", _("projectContentType.plainText"))
f.option(selected: 'text/html'==instance?.email.contentType, value: "text/html", _("projectContentType.html"))
f.option(selected: 'project'== (instance != null ? instance.email.contentType : ""), value: "project", _("Project Content Type"))
f.option(selected: 'text/plain'==(instance != null ? instance.email.contentType : ""), value: "text/plain", _("projectContentType.plainText"))
f.option(selected: 'text/html'==(instance != null ? instance.email.contentType : ""), value: "text/html", _("projectContentType.html"))
}
}
f.entry(title: _("Subject"), help: "/plugin/email-ext/help/projectConfig/mailType/subject.html") {

0 comments on commit 87d4e30

Please sign in to comment.