[rt-devel] PATCH: 'Bounce' (re-send) action for data transactions

Bruce Segal bsegal at DECARIE.COM
Fri Oct 24 09:52:12 EDT 2003


For some reason I had to add the following to Bounce.html

        $MIMEObj->attach(Type => $attch->ContentType,
                          Data => $attch->Content,
                          Filename => $attch->Filename);

Without the filename the attachement came in as xxxxx.dat 

I'm also wondering if this would be a good place to insert a callback to allow modification of $titlebar_commands. This seems more in keeping with the RT 'style' 

I've written a callback using the existing 'ModifyDisplay' hook which allow $desc to be changed.  I also changed ShowTransaction not to escape $desc. 

 local/html/Callbacks/EWS/Ticket/Elements/ShowTransaction//ModifyDisplay

<%init>
$$text .= '&nbsp;'.
"[<a href=\"Bounce.html?id=".
$Transaction->Ticket . "&QuoteTransaction=".$Transaction->Id.
  "\">". loc('Bounce') ."</a>]";
</%init>
<%args>
$text => undef;
$Transaction => undef;
</%args>

and added the following to ShowTransaction



More information about the Rt-devel mailing list