diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-07-23 03:33:58 +0200 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-07-23 03:33:58 +0200 |
commit | b1fa012bc8f89aa7a4a86cc2b7d97d68136358f7 (patch) | |
tree | 095f71c6c259983217c74b09ad9214d120a589a4 /template/en/default/admin/fieldvalues | |
parent | e11091837644b7d5c2ddbea657548ae222c2884b (diff) | |
download | bugzilla-b1fa012bc8f89aa7a4a86cc2b7d97d68136358f7.tar.gz bugzilla-b1fa012bc8f89aa7a4a86cc2b7d97d68136358f7.tar.xz |
Bug 577054: ChoiceInterface was denying the deletion of any value if
the field had *any* value-controlling values.
r=LpSolit, a=LpSolit
Diffstat (limited to 'template/en/default/admin/fieldvalues')
-rw-r--r-- | template/en/default/admin/fieldvalues/confirm-delete.html.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/template/en/default/admin/fieldvalues/confirm-delete.html.tmpl b/template/en/default/admin/fieldvalues/confirm-delete.html.tmpl index 547cac636..088154120 100644 --- a/template/en/default/admin/fieldvalues/confirm-delete.html.tmpl +++ b/template/en/default/admin/fieldvalues/confirm-delete.html.tmpl @@ -63,7 +63,7 @@ [% IF value.is_default || value.bug_count || (value_count == 1) || value.controls_visibility_of_fields.size - || value.controlled_values.size + || value.controlled_values_array.size %] <p>Sorry, but the '[% value.name FILTER html %]' value cannot be deleted @@ -123,7 +123,7 @@ </li> [% END %] - [% IF value.controlled_values.size %] + [% IF value.controlled_values_array.size %] <li>This value controls the visibility of the following values in other fields:<br> [% FOREACH field_name = value.controlled_values.keys %] |