summaryrefslogtreecommitdiff
path: root/rt/share/html/index.html
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2019-01-07 13:33:21 -0500
committerChristopher Burger <burgerc@freeside.biz>2019-01-07 14:02:46 -0500
commitfdfaacefe11f3c9e03d5378c297cec1f75bd0170 (patch)
tree9a30f92ff3d8612faeeb1722d5127e9cb01e42b6 /rt/share/html/index.html
parenta50fae1fa75899724aaa4258405ad3133fbb047b (diff)
RT# 35259 - Added option to attach a file thru quick ticket creation
Diffstat (limited to 'rt/share/html/index.html')
-rwxr-xr-xrt/share/html/index.html19
1 files changed, 12 insertions, 7 deletions
diff --git a/rt/share/html/index.html b/rt/share/html/index.html
index acf6c129b..86cc8fc66 100755
--- a/rt/share/html/index.html
+++ b/rt/share/html/index.html
@@ -90,6 +90,9 @@ $m->callback( ARGSRef => \%ARGS, results => \@results, CallbackName => 'Initial'
skip_create => \$skip_create );
if ( $ARGS{'QuickCreate'} ) {
+
+ ProcessAttachments(ARGSRef => \%ARGS);
+
my $QueueObj = RT::Queue->new($session{'CurrentUser'});
$QueueObj->Load($ARGS{Queue}) or Abort(loc("Queue could not be loaded."));
@@ -106,13 +109,15 @@ if ( $ARGS{'QuickCreate'} ) {
my $created;
if ( $ValidCFs && !$skip_create ) {
my ($t, $msg) = CreateTicket(
- Queue => $ARGS{'Queue'},
- Owner => $ARGS{'Owner'},
- Status => $ARGS{'Status'},
- # yes! it's Requestors, not Requestor
- Requestors => $ARGS{'Requestors'},
- Content => $ARGS{'Content'},
- Subject => $ARGS{'Subject'});
+ Queue => $ARGS{'Queue'},
+ Owner => $ARGS{'Owner'},
+ Status => $ARGS{'Status'},
+ # yes! it's Requestors, not Requestor
+ Requestors => $ARGS{'Requestors'},
+ Content => $ARGS{'Content'},
+ Subject => $ARGS{'Subject'},
+ Token => $ARGS{'Token'},
+ );
push @results, $msg;
if ( $t && $t->Id ) {