Commit 4734e258 authored by gerv%gerv.net's avatar gerv%gerv.net

Bug 384604: make guided form default to General component. Patch by gerv; r=justdave.

parent 3f94214a
......@@ -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_ %]>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment