[Rt-commit] r17735 - rt/3.8/branches/html-css-cleanup/share/html/Elements
elacour at bestpractical.com
elacour at bestpractical.com
Tue Jan 13 09:40:52 EST 2009
Author: elacour
Date: Tue Jan 13 09:40:51 2009
New Revision: 17735
Modified:
rt/3.8/branches/html-css-cleanup/share/html/Elements/PageLayout
Log:
Action menu shouldn't be considered as "body", so BeforeBody callback should be
called after action menu imho (closes: #13072)
Modified: rt/3.8/branches/html-css-cleanup/share/html/Elements/PageLayout
==============================================================================
--- rt/3.8/branches/html-css-cleanup/share/html/Elements/PageLayout (original)
+++ rt/3.8/branches/html-css-cleanup/share/html/Elements/PageLayout Tue Jan 13 09:40:51 2009
@@ -117,9 +117,6 @@
</div>
<div id="body">
-% $m->callback( %ARGS, CallbackName => 'BeforeBody' );
-% $m->flush_buffer(); # we've got the page laid out, let's flush the buffer;
-
% if (($actions && %$actions) || ($subactions && %$subactions)) {
<ul id="actions-menu">
<div><div><div>
@@ -163,6 +160,9 @@
</ul>
% }
+% $m->callback( %ARGS, CallbackName => 'BeforeBody' );
+% $m->flush_buffer(); # we've got the page laid out, let's flush the buffer;
+
<%INIT>
if ( defined $current_toptab ) {
foreach my $tab ( values %{$toptabs} ) {
More information about the Rt-commit
mailing list