[Rt-commit] rtfm branch, master, updated. 80c9caa564070fc2be129a2cc1ed4c44714386fa
Kevin Falcone
falcone at bestpractical.com
Thu Sep 30 21:11:16 EDT 2010
The branch, master has been updated
via 80c9caa564070fc2be129a2cc1ed4c44714386fa (commit)
from 02d245d19811961239f7a52bb339857bb72ec9ee (commit)
Summary of changes:
html/RTFM/Elements/BeforeMessageBox | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit 80c9caa564070fc2be129a2cc1ed4c44714386fa
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Thu Sep 30 18:14:18 2010 -0700
Give us a callback where we can suppress display of RTFM
diff --git a/html/RTFM/Elements/BeforeMessageBox b/html/RTFM/Elements/BeforeMessageBox
index 197068b..4782a37 100644
--- a/html/RTFM/Elements/BeforeMessageBox
+++ b/html/RTFM/Elements/BeforeMessageBox
@@ -133,6 +133,10 @@
</table>
<%init>
+my $skip = 0;
+$m->comp('/Elements/Callback', _CallbackName => "Init", skip => \$skip, Queue => $ARGS{QueueObj});
+return if $skip;
+
my $name_prefix = '';
if ( $ARGS{'MessageBoxName'} ) {
$name_prefix = $ARGS{'MessageBoxName'} .'-';
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list