[Rt-commit] rt branch, create-action, updated. 66a3f02de0d00b6444173c72c66ad089434cdbdc
sartak at bestpractical.com
sartak at bestpractical.com
Tue Sep 22 07:41:29 EDT 2009
The branch, create-action has been updated
via 66a3f02de0d00b6444173c72c66ad089434cdbdc (commit)
from c8abd481e2c64af36e88d898d810f4169d4fb895 (commit)
Summary of changes:
lib/RT/Action/CreateTicket.pm | 3 +++
lib/RT/View/Ticket/Create.pm | 2 ++
2 files changed, 5 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit 66a3f02de0d00b6444173c72c66ad089434cdbdc
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Tue Sep 22 07:41:17 2009 -0400
Add content parameter
diff --git a/lib/RT/Action/CreateTicket.pm b/lib/RT/Action/CreateTicket.pm
index 60bda69..5ed1ef4 100644
--- a/lib/RT/Action/CreateTicket.pm
+++ b/lib/RT/Action/CreateTicket.pm
@@ -20,6 +20,9 @@ use Jifty::Action schema {
render as 'text',
display_length is 60,
max_length is 200;
+
+ param content =>
+ render as 'textarea';
};
sub after_set_queue {
diff --git a/lib/RT/View/Ticket/Create.pm b/lib/RT/View/Ticket/Create.pm
index 8afb14e..336ab34 100644
--- a/lib/RT/View/Ticket/Create.pm
+++ b/lib/RT/View/Ticket/Create.pm
@@ -113,6 +113,8 @@ sub show_basics {
render_param($create, 'subject');
+ render_param($create, 'content');
+
$create->button(label => _('Create'));
};
}
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list