summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Template.pm
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2007-09-17 11:48:04 +0200
committermkanat%bugzilla.org <>2007-09-17 11:48:04 +0200
commit61ac61f0a55f8e07ee4eb6be325b7d53ca64e7fe (patch)
tree0431b21137267c9d25a2a8549718eae256b4104c /Bugzilla/Template.pm
parente2ced36948e4edd9ad6354cb183a92ef6aebee45 (diff)
downloadbugzilla-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.pm6
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