[Rt-commit] rt branch, 4.2/header-callback-add-argsref, created. rt-4.2.0-138-gaebb25f
Jim Brandt
jbrandt at bestpractical.com
Wed Nov 13 11:21:07 EST 2013
The branch, 4.2/header-callback-add-argsref has been created
at aebb25f5c0cf2d5ac93f6d1eec5437d7a9ec869d (commit)
- Log -----------------------------------------------------------------
commit aebb25f5c0cf2d5ac93f6d1eec5437d7a9ec869d
Author: Jim Brandt <jbrandt at bestpractical.com>
Date: Wed Nov 13 11:20:42 2013 -0500
Add ARGSRef to Head calback
diff --git a/share/html/Elements/Header b/share/html/Elements/Header
index fabf345..bf7f7b1 100644
--- a/share/html/Elements/Header
+++ b/share/html/Elements/Header
@@ -91,8 +91,8 @@
<% $attr->Content |n %>
% }
</style>
-
-% $m->callback( %ARGS, CallbackName => 'Head' );
+% # Leave %ARGS for backward compatibility
+% $m->callback( %ARGS, CallbackName => 'Head', ARGSRef => \%ARGS );
</head>
<body class="<% lc $style %><% RT->Config->Get("UseSideBySideLayout", $session{'CurrentUser'}) ? ' sidebyside' : '' %>" <% $id && qq[id="comp-$id"] |n %>>
-----------------------------------------------------------------------
More information about the rt-commit
mailing list