I am looking for a way to change priority faster than this "Priority" link that leads to a whole new page with internal note and so.
I'd like to have it the same way as "Change queue" in ticket zoom, i.e. a dropdown list and a submit button.
So I tried to copy and modify dtl:block:Move in AgentTicketZoom.dtl, this way:
Code: Select all
<tr>
<td valign="bottom" class="PriorityID-$Data{"PriorityID"}">
<!-- dtl:block:ChangePriority -->
<p>
<b>$Text{"Change priority"}:</b><br/>
<form action="$Env{"CGIHandle"}" method="get" name="changePriority">
<input type="hidden" name="Action" value="AgentTicketPriority"/>
<input type="hidden" name="Piority" value="$QData{"PriorityID"}"/>
<input type="hidden" name="TicketID" value="$QData{"TicketID"}"/>
$Data{"PriorityStrg"}
<input class="button" type="submit" value="$Text{"Submit"}"/>
</form>
</p>
<!-- dtl:block:ChangePriority -->
</td>
</tr>
1. "dtl:block:ChangePriority" isn't defined in the block definitions (where is this list?)
2. $Data{"PriorityStrg"} doesn't exist at this stage
3. AgentTicketPriority action does lead to the page I just want to bypass!
Please help.
Regards,
HervE