[Rt-commit] rt branch, 4.4-trunk, updated. rt-4.4.1-327-ge5333f9
Shawn Moore
shawn at bestpractical.com
Thu Mar 30 15:55:06 EDT 2017
The branch, 4.4-trunk has been updated
via e5333f93a2a544b541cca662abcc06ac23d8785b (commit)
from a9b9bedc86948aebb045d298277923ecf4f0a076 (commit)
Summary of changes:
share/html/Ticket/Elements/ShowAttachments | 4 ++++
1 file changed, 4 insertions(+)
- Log -----------------------------------------------------------------
commit e5333f93a2a544b541cca662abcc06ac23d8785b
Author: Torsten Brumm <technik at picturepunxx.de>
Date: Thu Mar 30 19:54:49 2017 +0000
Add callbacks to ShowAttachments
diff --git a/share/html/Ticket/Elements/ShowAttachments b/share/html/Ticket/Elements/ShowAttachments
index f16d381..646d93a 100644
--- a/share/html/Ticket/Elements/ShowAttachments
+++ b/share/html/Ticket/Elements/ShowAttachments
@@ -51,6 +51,8 @@
color => "#336699",
hide_chrome => $HideTitleBox &>
+% $m->callback( %ARGS, CallbackName => 'BeforeList', TicketObj => $Ticket, Attachments => $Attachments, Documents => \%documents, IsChecked => \%is_checked, ShowMore => \$show_more );
+
<div class="attachment-list">
% foreach my $key (sort { lc($a) cmp lc($b) } keys %documents) {
@@ -87,6 +89,8 @@
% }
+% $m->callback( %ARGS, CallbackName => 'AfterList', TicketObj => $Ticket, Attachments => $Attachments, Documents => \%documents, IsChecked => \%is_checked, ShowMore => \$show_more );
+
% if ($show_more) {
<span class="show-more-link">
% my %params = %ARGS;
-----------------------------------------------------------------------
More information about the rt-commit
mailing list