X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FTicket%2FHistory.html;h=a71cad28f4dfd9c7759cac16e0e3a27d991000c8;hb=9ce482da3960ee43decee41fba53b78c12c3e52c;hp=3fa05fe5c213c3a69062ce811b7ae8560a73e28b;hpb=2c09925cad2ade037e6ae953e4ed6fc056811f2f;p=freeside.git diff --git a/rt/share/html/Ticket/History.html b/rt/share/html/Ticket/History.html index 3fa05fe5c..a71cad28f 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-2015 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2016 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;