diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-05-14 07:25:05 -0700 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-05-14 07:25:05 -0700 |
commit | 7072d6a673f9a05b688d07e05980b7932c7abbe6 (patch) | |
tree | a0356451566ff1a744714c8fcadf040cb9b20e2a /template/en/default/admin | |
parent | 80130158d4f4baa47cf1212cf28da1dc84b9d096 (diff) | |
download | bugs-7072d6a673f9a05b688d07e05980b7932c7abbe6.tar bugs-7072d6a673f9a05b688d07e05980b7932c7abbe6.tar.gz bugs-7072d6a673f9a05b688d07e05980b7932c7abbe6.tar.bz2 bugs-7072d6a673f9a05b688d07e05980b7932c7abbe6.tar.xz bugs-7072d6a673f9a05b688d07e05980b7932c7abbe6.zip |
Bug 561296: A fix allowing updating a field value's name when it is
the default value
r=LpSolit, a=LpSolit
Diffstat (limited to 'template/en/default/admin')
-rw-r--r-- | template/en/default/admin/fieldvalues/edit.html.tmpl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/template/en/default/admin/fieldvalues/edit.html.tmpl b/template/en/default/admin/fieldvalues/edit.html.tmpl index fb58e5784..9c42ce639 100644 --- a/template/en/default/admin/fieldvalues/edit.html.tmpl +++ b/template/en/default/admin/fieldvalues/edit.html.tmpl @@ -94,7 +94,11 @@ [% ELSIF value.is_static %] This value is non-deletable and cannot be disabled. [% END %] - </td> + [% IF !(value.is_default OR value.is_static) %] + <input id="defined_is_active" name="defined_is_active" + type="hidden" value="1"> + [% END %] + </td> </tr> </table> <input type="hidden" name="value" value="[% value.name FILTER html %]"> |