%# I doubt, therefore I might be. <& /Edit/Elements/PopHeader, Title => loc('Pick'), BG => '#C0EBEB', Action => '/Work/Tickets/ModifyPeople.html' &> <& /Edit/Elements/PickUsers, Prefix => 'Cc', IsWork => 1, Action => $Action, %ARGS &> <& /Edit/Elements/PopFooter &> <%INIT> my $Action = ( grep defined, map { /^Action-(.+?)(?:\.[xyXY])?[012]?$/ ? $1 : undef } grep length $ARGS{$_}, keys %ARGS )[0]; if ($Action eq 'Commit') { $session{CcSet} = 1; $session{CcExtra} = $ARGS{Extra}; $m->print(""); $m->abort; } elsif (!$ARGS{Continuation} and !$session{'CcOffList'}) { # Find out which users we want to display ACL selects for my $Users = RT::Users->new($session{'CurrentUser'}); $Users->LimitToEnabled; my $OffList = [ map $_->Id, @{$Users->ItemsArrayRef} ]; $session{'CcOffList'} = $OffList; }