Add needed patch for current RT releases
[manu/RT-Extension-Drafts.git] / rt-4.0.0-AfterMessageBox.patch
diff --git a/rt-4.0.0-AfterMessageBox.patch b/rt-4.0.0-AfterMessageBox.patch
new file mode 100644 (file)
index 0000000..4805449
--- /dev/null
@@ -0,0 +1,12 @@
+diff --git a/share/html/Ticket/Update.html b/share/html/Ticket/Update.html
+index de3461e..0c41491 100755
+--- a/share/html/Ticket/Update.html
++++ b/share/html/Ticket/Update.html
+@@ -178,6 +178,7 @@
+ % $IncludeSignature = 0 if $Action ne 'Respond' && !RT->Config->Get('MessageBoxIncludeSignatureOnComment');
+ <& /Elements/MessageBox, Name=>"UpdateContent", IncludeSignature => $IncludeSignature, %ARGS &>
+ % }
++% $m->callback( %ARGS, CallbackName => 'AfterMessageBox' );
+ </td></tr>
+     <& /Ticket/Elements/AddAttachments, %ARGS, TicketObj => $TicketObj &>