X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FElements%2FQuickCreate;h=be25b8d1bdbcc407f7e02cca20a19f050be2bc81;hb=9ce482da3960ee43decee41fba53b78c12c3e52c;hp=a4d5235e27d40c537e06460dab0583878d42a9d5;hpb=fc6209f398899f0211cfcedeb81a3cd65e04a941;p=freeside.git diff --git a/rt/share/html/Elements/QuickCreate b/rt/share/html/Elements/QuickCreate index a4d5235e2..be25b8d1b 100644 --- a/rt/share/html/Elements/QuickCreate +++ b/rt/share/html/Elements/QuickCreate @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2016 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -47,31 +47,39 @@ %# END BPS TAGGED BLOCK }}}
<&| /Widgets/TitleBox, title => loc('Quick ticket creation') &> -
+callback(CallbackName => 'InFormElement'); +> - + - - + - +
<&|/l&>Subject:
<&|/l&>Queue:<& /Elements/SelectNewTicketQueue, Name => 'Queue' &> +<&|/l&>Queue:<& /Elements/SelectNewTicketQueue, Name => 'Queue', Default => $args->{Queue} &> <&|/l&>Owner:
<&|/l&>Requestors:<& /Elements/EmailInput, Name => 'Requestors', Size => '40', Default => $ARGS{Requestors} || $session{CurrentUser}->EmailAddress &><& /Elements/EmailInput, Name => 'Requestors', Size => '40', Default => $args->{Requestors} || $session{CurrentUser}->EmailAddress, AutocompleteMultiple => 1 &>
<&|/l&>Content:
<& /Elements/Submit, Label => loc('Create') &>
+<%INIT> +my $args = delete $session{QuickCreate} || {}; +