diff options
| author | Christopher Burger <burgerc@freeside.biz> | 2019-01-07 13:33:21 -0500 |
|---|---|---|
| committer | Christopher Burger <burgerc@freeside.biz> | 2019-01-07 15:44:23 -0500 |
| commit | ad6474af65a9894684bd5e8553e25d9e71f52bb2 (patch) | |
| tree | e747d2721f3652a377217d846030ed791d718e5b /rt/share/html/Elements/QuickCreate | |
| parent | b0ef27c471c45bcd4a1f07aac0b0f50ecf50a8c4 (diff) | |
RT# 35259 - Added option to attach a file thru quick ticket creation
Conflicts:
rt/share/html/index.html
Diffstat (limited to 'rt/share/html/Elements/QuickCreate')
| -rw-r--r-- | rt/share/html/Elements/QuickCreate | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rt/share/html/Elements/QuickCreate b/rt/share/html/Elements/QuickCreate index fa03f2061..af8d84972 100644 --- a/rt/share/html/Elements/QuickCreate +++ b/rt/share/html/Elements/QuickCreate @@ -45,10 +45,12 @@ %# those contributions and any derivatives thereof. %# %# END BPS TAGGED BLOCK }}} +% my $QueueObj = RT::Queue->new($session{'CurrentUser'}); <div class="quick-create"> <&| /Widgets/TitleBox, title => loc('Quick ticket creation') &> <form method="post" + enctype="multipart/form-data" action="<%RT->Config->Get('WebPath')%>/index.html" % $m->callback(CallbackName => 'InFormElement'); > @@ -74,6 +76,7 @@ <tr class="input-row"> <td class="labeltop"><&|/l&>Content</&>:</td> <td colspan="3" class="value"><textarea name="Content" cols="50" rows="3"><% $args->{Content} || ''%></textarea></td></tr> +<& /Ticket/Elements/AddAttachments, %ARGS, QueueObj => $QueueObj &> </table> <& /Elements/Submit, Label => loc('Create') &> </form> |
