diff options
author | lpsolit%gmail.com <> | 2006-03-16 06:51:34 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-03-16 06:51:34 +0100 |
commit | 311eb45dbd343068dce41bb44dd8db9f8108cf7e (patch) | |
tree | 34c2f43c62b24714389d1ef5a3fa79175cbc593b /template/en/default | |
parent | d19c2c5203d27955941e51bf75415c88e611b7b4 (diff) | |
download | bugzilla-311eb45dbd343068dce41bb44dd8db9f8108cf7e.tar.gz bugzilla-311eb45dbd343068dce41bb44dd8db9f8108cf7e.tar.xz |
Bug 330521: Remove @::legal_product, @::legal_components and @::legal_target_milestone - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
Diffstat (limited to 'template/en/default')
-rw-r--r-- | template/en/default/admin/flag-type/edit.html.tmpl | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/template/en/default/admin/flag-type/edit.html.tmpl b/template/en/default/admin/flag-type/edit.html.tmpl index dc49890b7..cb3ce9e17 100644 --- a/template/en/default/admin/flag-type/edit.html.tmpl +++ b/template/en/default/admin/flag-type/edit.html.tmpl @@ -28,9 +28,9 @@ var first_load = 1; // is this the first time we load the page? var last_sel = []; // caches last selection var cpts = new Array(); - [% FOREACH p = products %] - cpts['[% p FILTER js %]'] = [ - [%- FOREACH item = components_by_product.$p %]'[% item FILTER js %]'[% ", " UNLESS loop.last %] [%- END -%] ]; + [% FOREACH prod = products %] + cpts['[% prod.name FILTER js %]'] = [ + [%- FOREACH comp = prod.components %]'[% comp.name FILTER js %]'[% ", " UNLESS loop.last %] [%- END -%] ]; [% END %] [% END %] @@ -107,18 +107,18 @@ <b>Product/Component:</b><br> <select name="product" onchange="selectProduct(this.form, 'product', 'component', '__Any__');"> <option value="">__Any__</option> - [% FOREACH item = products %] - <option value="[% item FILTER html %]" - [% "selected" IF type.product.name == item %]> - [% item FILTER html %]</option> + [% FOREACH prod = products %] + <option value="[% prod.name FILTER html %]" + [% "selected" IF type.product.name == prod.name %]> + [% prod.name FILTER html %]</option> [% END %] </select><br> <select name="component"> <option value="">__Any__</option> - [% FOREACH item = components %] - <option value="[% item FILTER html %]" - [% "selected" IF type.component.name == item %]> - [% item FILTER html %]</option> + [% FOREACH comp = components %] + <option value="[% comp FILTER html %]" + [% "selected" IF type.component.name == comp %]> + [% comp FILTER html %]</option> [% END %] </select><br> <input type="submit" name="categoryAction-include" value="Include"> |