Does anyone knows how to edit the source code to allow OTRS perform two actions?
for example:
Code: Select all
<a href="$Env{"Baselink"}Action=AgentTicketZoom&TicketID=$Data{"TicketID"}&ArticleID=$Data{"ArticleID"}&QueueID=$Data{"QueueID"}" onmouseover="window.status='$JSText{"Zoom"}'; return true;" onmouseout="window.status='';" title="$QData{"Title"}">$Data{"TicketNumber"}</a>
and
Code: Select all
<a href="$Env{"Baselink"}Action=AgentTicketLock&Subaction=Lock&TicketID=$Data{"TicketID"}" onmouseover="window.status='$JSText{"Ticket locked!"}'; return true;" onmouseout="window.status=''; ">$Data{"TicketNumber"}</a>
So, end result should be viewing the ticket while locking it at the same time.
Thanks.