[Rt-commit] r7379 - rtir/branches/2.3-EXPERIMENTAL/html/RTIR

ruz at bestpractical.com ruz at bestpractical.com
Wed Mar 28 15:47:47 EDT 2007


Author: ruz
Date: Wed Mar 28 15:47:18 2007
New Revision: 7379

Modified:
   rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Forward.html

Log:
* add results to the forward page

Modified: rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Forward.html
==============================================================================
--- rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Forward.html	(original)
+++ rtir/branches/2.3-EXPERIMENTAL/html/RTIR/Forward.html	Wed Mar 28 15:47:18 2007
@@ -7,6 +7,7 @@
     current_subtab => 'RTIR/Display.html?id='. $TicketObj->id,
 &>
 
+<& /Elements/ListActions, actions => \@results &>
 
 <form action="Forward.html" name="ForwardMessage" method="post">
 % $m->callback( CallbackName => 'FormStart', ARGSRef => \%ARGS );
@@ -45,9 +46,11 @@
 Abort( loc("Couldn't load transaction #[_1]", $QuoteTransaction) )
     unless $txn->id;
 
+my @results;
 if ( $ARGS{'Forward'} ) {
     require RT::Interface::Email;
-    RT::Interface::Email::ForwardTransaction( $txn, %ARGS );
+    my ($status, $msg) = RT::Interface::Email::ForwardTransaction( $txn, %ARGS );
+    push @results, $msg;
 }
 
 my $Title = loc('Forward message');


More information about the Rt-commit mailing list