Skip to content

Commit

Permalink
Add AfterTransactions callback for ShowHistory
Browse files Browse the repository at this point in the history
  • Loading branch information
bkembreeBPS authored and sunnavy committed Apr 10, 2024
1 parent 54297af commit daf5b03
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions share/html/Elements/ShowHistory
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@

<& /Elements/ShowHistoryPage, %ARGS &>

% $m->callback( CallbackName => 'AfterTransactions', %ARGS, Object => $Object );

</div>
% if ($ShowDisplayModes or $ShowTitle) {
<& /Widgets/TitleBoxEnd &>
Expand Down
2 changes: 2 additions & 0 deletions share/html/Elements/ShowHistoryPage
Original file line number Diff line number Diff line change
Expand Up @@ -165,5 +165,7 @@ if ( $i == 1 and RT->Config->Get( "ShowHistory", $session{'CurrentUser'} ) eq 's
$m->out( q{<div class="hidden end-of-history-list transaction" data-transaction-id="} . $txn->id . qq{"></div>\n} );
}

$m->callback( CallbackName => 'AfterTransactions', %ARGS, Object => $Object );

</%perl>

0 comments on commit daf5b03

Please sign in to comment.