From 5c775b2e0bb818686a3d140c8fdf851982e5a40f Mon Sep 17 00:00:00 2001 From: Simon Green Date: Thu, 3 Jul 2014 15:31:33 +1000 Subject: Bug 1031274 - Cannot update multiple bugs at once if you don't change a integer custom field r=glob, a=glob --- template/en/default/bug/field.html.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %] -- cgit v1.2.3-24-g4f1b