blob: 6b6edbeea9eff8c46674bccb872c916956c8bdd8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<%INIT>
return if $ARGSRef->{'NoRedirect'};
if ( defined($RT::Extension::MobileUI::VERSION)
and RT::Extension::MobileUI::MobileClient()) {
my $id = $ARGSRef->{'id'} || ($TicketObj ? $TicketObj->id : undef);
RT::Interface::Web::Redirect(RT->Config->Get('WebURL').'m/ticket/show?id='.$id);
$m->abort;
}
</%INIT>
<%ARGS>
$TicketObj => undef
$ARGSRef => {}
</%ARGS>
|