From 7732e14a3655a4cdbaff1846bda8cb4a30303de9 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Wed, 4 Feb 2015 17:41:10 +0000 Subject: Bug 1129101: Custom integer field breaks "Change many bugs at once" functionality --- template/en/default/bug/field.html.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'template/en/default/bug') 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 %] -- cgit v1.2.3-24-g4f1b