summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lawrence <dkl@mozilla.com>2015-02-04 18:41:10 +0100
committerDavid Lawrence <dkl@mozilla.com>2015-02-04 18:41:10 +0100
commit7732e14a3655a4cdbaff1846bda8cb4a30303de9 (patch)
tree4eb989889f7ba998d629e1f9264e9fa40197ca32
parentbb4b3f6727496aba5ba2633edc5fbc6746031465 (diff)
downloadbugzilla-7732e14a3655a4cdbaff1846bda8cb4a30303de9.tar.gz
bugzilla-7732e14a3655a4cdbaff1846bda8cb4a30303de9.tar.xz
Bug 1129101: Custom integer field breaks "Change many bugs at once" functionality
-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 25f49bbd4..1d1e38874 100644
--- a/template/en/default/bug/field.html.tmpl
+++ b/template/en/default/bug/field.html.tmpl
@@ -57,7 +57,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"' IF field.is_mandatory %]>
[% CASE [constants.FIELD_TYPE_DATETIME, constants.FIELD_TYPE_DATE] %]
[% size = (field.type == constants.FIELD_TYPE_DATE) ? 10 : 20 %]