[Rt-commit] rt branch, 4.4/myrt-pass-args, created. rt-4.4.2-18-g577a26f
Jim Brandt
jbrandt at bestpractical.com
Mon Jul 31 15:07:27 EDT 2017
The branch, 4.4/myrt-pass-args has been created
at 577a26f49f3654f13bc7dc3550cb92034870d62f (commit)
- Log -----------------------------------------------------------------
commit 577a26f49f3654f13bc7dc3550cb92034870d62f
Author: Jim Brandt <jbrandt at bestpractical.com>
Date: Mon Jul 31 15:07:17 2017 -0400
Pass args through to MassagePortlets callback
diff --git a/share/html/Elements/MyRT b/share/html/Elements/MyRT
index e12053b..ea49dc9 100644
--- a/share/html/Elements/MyRT
+++ b/share/html/Elements/MyRT
@@ -73,7 +73,7 @@ unless ( $Portlets ) {
);
}
-$m->callback( CallbackName => 'MassagePortlets', Portlets => $Portlets );
+$m->callback( CallbackName => 'MassagePortlets', Portlets => $Portlets, ARGSRef => \%ARGS );
my ($body, $sidebar) = @{$Portlets}{qw(body sidebar)};
unless( $body && @$body ) {
diff --git a/share/html/index.html b/share/html/index.html
index e6b2ec0..cfeefd4 100644
--- a/share/html/index.html
+++ b/share/html/index.html
@@ -75,7 +75,7 @@ If you need commercial support, please contact us at sales at bestpractical.com.
%# END BPS TAGGED BLOCK }}}
<& /Elements/Tabs &>
<& /Elements/ListActions, actions => \@results &>
-<& /Elements/MyRT &>
+<& /Elements/MyRT, %ARGS &>
<%init>
if ( RT::Interface::Web->MobileClient()) {
-----------------------------------------------------------------------
More information about the rt-commit
mailing list