[Rt-commit] rt branch, 4.4.1/fix-history-scroll, created. rt-4.4.1rc1-1-g6c8a717
Dustin Graves
dustin at bestpractical.com
Fri Jul 1 17:37:52 EDT 2016
The branch, 4.4.1/fix-history-scroll has been created
at 6c8a717b0fde48897cc1ef704c99b157593d946b (commit)
- Log -----------------------------------------------------------------
commit 6c8a717b0fde48897cc1ef704c99b157593d946b
Author: Dustin Graves <dustin at bestpractical.com>
Date: Fri Jul 1 21:35:09 2016 +0000
change callback on TicketHistoryPage to have CallbackPage of
TicketHistory to avoid duplication and modification of extensions
diff --git a/share/html/Helpers/TicketHistoryPage b/share/html/Helpers/TicketHistoryPage
index 953ee6c..e4e7411 100644
--- a/share/html/Helpers/TicketHistoryPage
+++ b/share/html/Helpers/TicketHistoryPage
@@ -56,7 +56,12 @@ my $TicketObj = RT::Ticket->new($session{'CurrentUser'});
$TicketObj->Load($id);
my %extra_args;
-$m->callback( CallbackName => 'ExtraShowHistoryArguments', Ticket => $TicketObj, ExtraArgs => \%extra_args );
+$m->callback(
+ CallbackPage => '/Helpers/TicketHistory',
+ CallbackName => 'ExtraShowHistoryArguments',
+ Ticket => $TicketObj,
+ ExtraArgs => \%extra_args
+);
my $transactions = $TicketObj->Transactions;
my $order = $oldestTransactionsFirst ? 'ASC' : 'DESC';
-----------------------------------------------------------------------
More information about the rt-commit
mailing list