summaryrefslogtreecommitdiffstats
path: root/template/en/default/admin/fieldvalues
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-05-14 16:25:05 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-05-14 16:25:05 +0200
commit7072d6a673f9a05b688d07e05980b7932c7abbe6 (patch)
treea0356451566ff1a744714c8fcadf040cb9b20e2a /template/en/default/admin/fieldvalues
parent80130158d4f4baa47cf1212cf28da1dc84b9d096 (diff)
downloadbugzilla-7072d6a673f9a05b688d07e05980b7932c7abbe6.tar.gz
bugzilla-7072d6a673f9a05b688d07e05980b7932c7abbe6.tar.xz
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/fieldvalues')
-rw-r--r--template/en/default/admin/fieldvalues/edit.html.tmpl6
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 %]">