]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 959732: The guided bug entry form lists components disabled for new bug reports
authorGavinS <bugzilla@chimpychompy.org>
Sat, 25 Jan 2014 14:28:20 +0000 (15:28 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Sat, 25 Jan 2014 14:28:20 +0000 (15:28 +0100)
r=LpSolit a=justdave

template/en/default/bug/create/create-guided.html.tmpl

index 7f9e5179fbb5b3230a056e63e9c3e9d25a497f76..6bcb436f84adf4f620544588a6fb03713d4cb2c1 100644 (file)
@@ -121,6 +121,7 @@ function PutDescription() {
           [% default.component_ = "General" %]
         [% END %]
         [% FOREACH c = product.components %]
+          [% NEXT IF NOT c.is_active %]
           <option value="[% c.name FILTER html %]"
                   [%+ 'selected="selected"' IF c.name == default.component_ %]>
             [% c.name FILTER html %]