summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorSimon Green <sgreen@redhat.com>2014-07-03 07:31:33 +0200
committerSimon Green <sgreen@redhat.com>2014-07-03 07:31:33 +0200
commit5c775b2e0bb818686a3d140c8fdf851982e5a40f (patch)
tree67cf681b4a1cb6ee87db6552bf182ebd3e994a24 /template
parent2a027a8f1ad01739e71d77ac89da00a2bf84f990 (diff)
downloadbugzilla-5c775b2e0bb818686a3d140c8fdf851982e5a40f.tar.gz
bugzilla-5c775b2e0bb818686a3d140c8fdf851982e5a40f.tar.xz
Bug 1031274 - Cannot update multiple bugs at once if you don't change a integer custom field
r=glob, a=glob
Diffstat (limited to 'template')
-rw-r--r--template/en/default/bug/field.html.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/en/default/bug/field.html.tmpl b/template/en/default/bug/field.html.tmpl
index 9e09e4b52..23b94d594 100644
--- a/template/en/default/bug/field.html.tmpl
+++ b/template/en/default/bug/field.html.tmpl
@@ -41,7 +41,7 @@
name="[% field.name FILTER html %]"
value="[% value FILTER html %]" size="40"
maxlength="[% constants.MAX_FREETEXT_LENGTH FILTER none %]"
- [% ' pattern="\d+"' IF field.type == constants.FIELD_TYPE_INTEGER %]
+ [% IF field.type == constants.FIELD_TYPE_INTEGER %] pattern="\d+[% IF dontchange %]|[% dontchange FILTER html %][% END %]"' [% END %]
[% ' aria-required="true" required' IF field.is_mandatory %]>
[% CASE [constants.FIELD_TYPE_DATETIME, constants.FIELD_TYPE_DATE] %]
[% size = (field.type == constants.FIELD_TYPE_DATE) ? 10 : 20 %]