[Rt-commit] rt branch, 4.2/pass-ticket-to-showattachments, created. rt-4.2.2-4-gbb999a1

Jim Brandt jbrandt at bestpractical.com
Thu Jan 16 16:37:28 EST 2014


The branch, 4.2/pass-ticket-to-showattachments has been created
        at  bb999a113220da207d86f0630161ef460587fbba (commit)

- Log -----------------------------------------------------------------
commit bb999a113220da207d86f0630161ef460587fbba
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Thu Jan 16 13:22:48 2014 -0500

    Pass the ticket object to ShowAttachments from Forward.html
    
    Mirror Ticket/Elements/ShowSummary and pass the ticket object
    to ShowAttachments along with the Attachments object. This
    makes it easier to do a rights check on the ticket if needed,
    although the current code doesn't currently.

diff --git a/share/html/Ticket/Forward.html b/share/html/Ticket/Forward.html
index ca1d276..c4247d5 100644
--- a/share/html/Ticket/Forward.html
+++ b/share/html/Ticket/Forward.html
@@ -85,7 +85,7 @@
 
 </table>
 
-<& /Ticket/Elements/ShowAttachments, Attachments => $attachments &>
+<& /Ticket/Elements/ShowAttachments, Ticket => $TicketObj, Attachments => $attachments &>
 
 <& /Elements/Submit, Label => loc('Forward Message and Return'), Name => 'ForwardAndReturn' &>
 <& /Elements/Submit, Label => loc('Forward Message'), Name => 'Forward' &>

-----------------------------------------------------------------------


More information about the rt-commit mailing list