projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT# 81692 Update use of deprecated callback element in RT
[freeside.git]
/
rt
/
share
/
html
/
Elements
/
QuickCreate
diff --git
a/rt/share/html/Elements/QuickCreate
b/rt/share/html/Elements/QuickCreate
index
be25b8d
..
e4c57cf
100644
(file)
--- a/
rt/share/html/Elements/QuickCreate
+++ b/
rt/share/html/Elements/QuickCreate
@@
-2,7
+2,7
@@
%#
%# COPYRIGHT:
%#
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-201
6
Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-201
7
Best Practical Solutions, LLC
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
@@
-45,10
+45,12
@@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
%# 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"
<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');
>
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>
<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>
</table>
<& /Elements/Submit, Label => loc('Create') &>
</form>