X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2Findex.html;fp=rt%2Fshare%2Fhtml%2Findex.html;h=86cc8fc66c50927509354123d2837e1a938d774c;hb=fdfaacefe11f3c9e03d5378c297cec1f75bd0170;hp=acf6c129b69e4a4d2dc78b3ab17a442aacf4db51;hpb=a50fae1fa75899724aaa4258405ad3133fbb047b;p=freeside.git 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 ) {