Re: [rt-users] Adding an Action link to Ticket/Display.html/BeforeActionList

2016-10-12 Thread David Schmidt
How can I access the referer in a callback? I managed to add the link using this callback: file: html/Callbacks/RT-Extension-OneClickClose/Elements/Tabs/Privileged <%ARGS> $Path => undef <%INIT> if ( $Path =~ m!^\/Ticket\/Display\.html! ) { if ( $DECODED_ARGS->{id} && $DECODED_ARGS->{id}

Re: [rt-users] Adding an Action link to Ticket/Display.html/BeforeActionList

2016-10-06 Thread David Schmidt
I'll answer myself: if an action is not a ref it is rendered in the result box. bit unexpected but im sure there is a reason. (code in share/html/Elements/ListActions) https://github.com/bestpractical/rt/blob/stable/share/html/Elements/ListActions#L49 On 06.10.2016 13:53, David Schmidt