X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=rt%2Fshare%2Fhtml%2FElements%2FQuickCreate;h=fa03f2061d7767867f849631fcd3a1fe3dbeaed4;hb=919e930aa9279b3c5cd12b593889cd6de79d67bf;hp=a4d5235e27d40c537e06460dab0583878d42a9d5;hpb=0fb307c305e4bc2c9c27dc25a3308beae3a4d33c;p=freeside.git diff --git a/rt/share/html/Elements/QuickCreate b/rt/share/html/Elements/QuickCreate index a4d5235e2..fa03f2061 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-2015 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 &>
<&|/l&>Content:
<& /Elements/Submit, Label => loc('Create') &>
+<%INIT> +my $args = delete $session{QuickCreate} || {}; +