Commit d376931f authored by GavinS's avatar GavinS Committed by Frédéric Buclin

Bug 959732: The guided bug entry form lists components disabled for new bug reports

r=LpSolit a=justdave
parent 67a1e997
...@@ -39,6 +39,7 @@ ...@@ -39,6 +39,7 @@
<script type="text/javascript"> <script type="text/javascript">
var descriptions = [ var descriptions = [
[% FOREACH c = product.components %] [% FOREACH c = product.components %]
[% NEXT IF NOT c.is_active %]
'[% c.description FILTER js %]', '[% c.description FILTER js %]',
[% END %] [% END %]
]; ];
...@@ -166,6 +167,7 @@ function PutDescription() { ...@@ -166,6 +167,7 @@ function PutDescription() {
[% default.component_ = "General" %] [% default.component_ = "General" %]
[% END %] [% END %]
[% FOREACH c = product.components %] [% FOREACH c = product.components %]
[% NEXT IF NOT c.is_active %]
<option value="[% c.name FILTER html %]" <option value="[% c.name FILTER html %]"
[% " selected=\"selected\"" IF c.name == default.component_ %]> [% " selected=\"selected\"" IF c.name == default.component_ %]>
[% c.name FILTER html %] [% c.name FILTER html %]
......
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