File: AfterWorked

package info (click to toggle)
rt-extension-customfieldsonupdate 1.03-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 248 kB
  • sloc: perl: 2,402; sh: 60; makefile: 29
file content (17 lines) | stat: -rw-r--r-- 350 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<%INIT>
my $comp = '/Elements/EditCustomFields';
my %obj_args = ( Object => $Ticket );

if (!$m->comp_exists('/Elements/EditCustomFields')) {
    $comp = '/Ticket/Elements/EditCustomFields';
    %obj_args = ( TicketObj => $Ticket );
}
</%INIT>
<& $comp,
    %obj_args,
    InTable => 1,
    DefaultsFromTopArguments => 0,
&>
<%ARGS>
$Ticket
</%ARGS>