]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1031274 - Cannot update multiple bugs at once if you don't change a integer custo...
authorSimon Green <sgreen@redhat.com>
Thu, 3 Jul 2014 05:31:33 +0000 (15:31 +1000)
committerSimon Green <sgreen@redhat.com>
Thu, 3 Jul 2014 05:31:33 +0000 (15:31 +1000)
r=glob, a=glob

template/en/default/bug/field.html.tmpl

index 9e09e4b52ab9b6ba6fc78bfc74f5f07a6cb119ea..23b94d5949e3c0fb012d75f8c6b820ba72436512 100644 (file)
@@ -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 %]