[Rt-commit] [rtir] 01/01: provide a BeforeReply callback so that users can change and control and incident before RT displays or changes it

Todd Wade todd at bestpractical.com
Fri May 9 10:27:04 EDT 2014


This is an automated email from the git hooks/post-receive script.

todd pushed a commit to branch 3.2/skip-update
in repository rtir.

commit 8ab24cf8232e19af2f49db0e04dee4a8580efa25
Author: Todd Wade <todd at bestpractical.com>
Date:   Fri May 9 10:24:26 2014 -0400

    provide a BeforeReply callback so that users can change and control
    and incident before RT displays or changes it
---
 html/RTIR/Incident/Reply/index.html | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/html/RTIR/Incident/Reply/index.html b/html/RTIR/Incident/Reply/index.html
index 533871b..37e7513 100644
--- a/html/RTIR/Incident/Reply/index.html
+++ b/html/RTIR/Incident/Reply/index.html
@@ -137,6 +137,14 @@ ProcessAttachments( ARGSRef => \%ARGS );
 
 my $checks_failure = 0;
 
+$m->callback(
+    CallbackName   => 'BeforeReply',
+    ARGSRef        => \%ARGS,
+    checks_failure => \$checks_failure,
+    results        => \@results,
+    Ticket         => $IncidentObj
+);
+
 my $gnupg_widget = $m->comp('/Elements/Crypt/SignEncryptWidget:new', Arguments => \%ARGS );
 $m->comp( '/Elements/Crypt/SignEncryptWidget:Process',
     self => $gnupg_widget,

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the rt-commit mailing list