summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-01-13 00:20:50 +0100
committerlpsolit%gmail.com <>2008-01-13 00:20:50 +0100
commit0e2ea68e886628033f9afeba99f90144b4f85510 (patch)
treebdb26475965046e8680130ad0daf42d1d315416a /template/en/default/bug
parenta404e6c3e3d777f09ef2ab8100ad01a20a3c885c (diff)
downloadbugzilla-0e2ea68e886628033f9afeba99f90144b4f85510.tar.gz
bugzilla-0e2ea68e886628033f9afeba99f90144b4f85510.tar.xz
Bug 411437: Clipping of "Free Text" fields when user enters more then 255 characters - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'template/en/default/bug')
-rw-r--r--template/en/default/bug/field.html.tmpl5
1 files changed, 3 insertions, 2 deletions
diff --git a/template/en/default/bug/field.html.tmpl b/template/en/default/bug/field.html.tmpl
index ea33d3ad0..1ba0b1784 100644
--- a/template/en/default/bug/field.html.tmpl
+++ b/template/en/default/bug/field.html.tmpl
@@ -41,8 +41,9 @@
[% IF editable %]
[% SWITCH field.type %]
[% CASE constants.FIELD_TYPE_FREETEXT %]
- <input name="[% field.name FILTER html %]"
- value="[% value FILTER html %]" size="60">
+ <input id="[% field.name FILTER html %]" name="[% field.name FILTER html %]"
+ value="[% value FILTER html %]" size="60"
+ maxlength="[% constants.MAX_FREETEXT_LENGTH FILTER none %]">
[% CASE constants.FIELD_TYPE_DATETIME %]
<input name="[% field.name FILTER html %]" size="20"
id="[% field.name FILTER html %]"