X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FElements%2FQuickCreate;h=e4c57cf8fc64c63b253170d385000d428086a6b2;hb=a9aa4d83ae52cfece965cd8f175a29394938f76a;hp=fa03f2061d7767867f849631fcd3a1fe3dbeaed4;hpb=73a6a80a9ca5edbd43d139b7cb25bfee4abfd35e;p=freeside.git diff --git a/rt/share/html/Elements/QuickCreate b/rt/share/html/Elements/QuickCreate index fa03f2061..e4c57cf8f 100644 --- a/rt/share/html/Elements/QuickCreate +++ b/rt/share/html/Elements/QuickCreate @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2017 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -45,10 +45,12 @@ %# those contributions and any derivatives thereof. %# %# END BPS TAGGED BLOCK }}} +% my $QueueObj = RT::Queue->new($session{'CurrentUser'});
<&| /Widgets/TitleBox, title => loc('Quick ticket creation') &>
callback(CallbackName => 'InFormElement'); > @@ -69,11 +71,12 @@ <&|/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: +<& /Ticket/Elements/AddAttachments, %ARGS, QueueObj => $QueueObj &> <& /Elements/Submit, Label => loc('Create') &>