X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FTicket%2FHistory.html;h=b52279cecc54f7d3168c61c80aca120b55214088;hp=afc174fd6fc8325c0cbac295c9bfe1e32ecc3ba6;hb=de9d037528895f7151a9aead6724ce2df95f9586;hpb=f3c4966ed1f6ec3db7accd6dcdd3a5a3821d72a7 diff --git a/rt/share/html/Ticket/History.html b/rt/share/html/Ticket/History.html index afc174fd6..b52279cec 100755 --- a/rt/share/html/Ticket/History.html +++ b/rt/share/html/Ticket/History.html @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2017 Best Practical Solutions, LLC %# %# %# (Except where explicitly superseded by other copyright notices) @@ -53,12 +53,12 @@
-<& /Ticket/Elements/ShowHistory , - Ticket => $Ticket, +<& /Elements/ShowHistory, + Object => $Ticket, ShowHeaders => $ARGS{'ShowHeaders'}, - URIFile => 'History.html', Attachments => $attachments, - AttachmentContent => $attachment_content + AttachmentContent => $attachment_content, + DisplayPath => 'History.html', &> % $m->callback( %ARGS, CallbackName => 'AfterShowHistory', Ticket => $Ticket ); @@ -77,9 +77,8 @@ unless ($Ticket->CurrentUserHasRight('ShowTicket')) { Abort("No permission to view ticket"); } -my $attachments = $m->comp('Elements/FindAttachments', Ticket => $Ticket); -my $attachment_content = $m->comp('Elements/LoadTextAttachments', Ticket => -$Ticket); +my $attachments = $Ticket->Attachments; +my $attachment_content = $Ticket->TextAttachments;