summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorgerv%gerv.net <>2007-12-14 23:57:49 +0100
committergerv%gerv.net <>2007-12-14 23:57:49 +0100
commit4734e25879a9b98ff0c28f8430ce9b3fb536df90 (patch)
tree0255c61c1a28437b3acc67b9bfe4388e1c9c68ac /template/en
parent3f94214af2e2ec758a0b126aa3ef70be6544aaa9 (diff)
downloadbugzilla-4734e25879a9b98ff0c28f8430ce9b3fb536df90.tar.gz
bugzilla-4734e25879a9b98ff0c28f8430ce9b3fb536df90.tar.xz
Bug 384604: make guided form default to General component. Patch by gerv; r=justdave.
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/bug/create/create-guided.html.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/template/en/default/bug/create/create-guided.html.tmpl b/template/en/default/bug/create/create-guided.html.tmpl
index 701658982..588a1043d 100644
--- a/template/en/default/bug/create/create-guided.html.tmpl
+++ b/template/en/default/bug/create/create-guided.html.tmpl
@@ -209,6 +209,11 @@ function PutDescription() {
<td valign="top">
<select name="component" id="component"
size="5" onchange="PutDescription()">
+ [% IF NOT default.component_ %]
+ [%# Various b.m.o. products have a "General" component,
+ which is a useful default. %]
+ [% default.component_ = "General" %]
+ [% END %]
[% FOREACH c = product.components %]
<option value="[% c.name FILTER html %]"
[% " selected=\"selected\"" IF c.name == default.component_ %]>