diff options
author | mkanat%bugzilla.org <> | 2007-09-17 11:48:04 +0200 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2007-09-17 11:48:04 +0200 |
commit | 61ac61f0a55f8e07ee4eb6be325b7d53ca64e7fe (patch) | |
tree | 0431b21137267c9d25a2a8549718eae256b4104c /Bugzilla/Template.pm | |
parent | e2ced36948e4edd9ad6354cb183a92ef6aebee45 (diff) | |
download | bugzilla-61ac61f0a55f8e07ee4eb6be325b7d53ca64e7fe.tar.gz bugzilla-61ac61f0a55f8e07ee4eb6be325b7d53ca64e7fe.tar.xz |
Bug 357315: Add the ability to create <textarea> fields
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'Bugzilla/Template.pm')
-rw-r--r-- | Bugzilla/Template.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 386be82ea..c22502806 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -665,7 +665,11 @@ sub create { }, # Wrap a displayed comment to the appropriate length - wrap_comment => \&Bugzilla::Util::wrap_comment, + wrap_comment => [ + sub { + my ($context, $cols) = @_; + return sub { wrap_comment($_[0], $cols) } + }, 1], # We force filtering of every variable in key security-critical # places; we have a none filter for people to use when they |