[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.9.4-30-g734691b

Shawn Moore sartak at bestpractical.com
Thu Sep 30 07:52:19 EDT 2010


The branch, 3.9-trunk has been updated
       via  734691b95b339cb1e4e6a0fc1f1131acc9cbeb36 (commit)
      from  9c7457eef00be9469423f19f83e9d6dec9527d82 (commit)

Summary of changes:
 lib/RT/Interface/Web.pm |    2 --
 share/html/autohandler  |    2 ++
 2 files changed, 2 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit 734691b95b339cb1e4e6a0fc1f1131acc9cbeb36
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Thu Sep 30 07:54:40 2010 -0400

    Revert "Move the Footer into HandleRequest so that it keeps %session"
    
    This reverts commit e5cef164ede9e82d6bf3cf8a0a26d2658d388893.
    
    Having a Footer on every request can apparently break things

diff --git a/lib/RT/Interface/Web.pm b/lib/RT/Interface/Web.pm
index 702d237..f95b9c0 100755
--- a/lib/RT/Interface/Web.pm
+++ b/lib/RT/Interface/Web.pm
@@ -219,8 +219,6 @@ sub HandleRequest {
     ShowRequestedPage($ARGS);
     LogRecordedSQLStatements();
 
-    $HTML::Mason::Commands::m->comp( '/Elements/Footer', %$ARGS );
-
     # Process per-page final cleanup callbacks
     $HTML::Mason::Commands::m->callback( %$ARGS, CallbackName => 'Final', CallbackPage => '/autohandler' );
 }
diff --git a/share/html/autohandler b/share/html/autohandler
index 8762852..c138c79 100755
--- a/share/html/autohandler
+++ b/share/html/autohandler
@@ -51,6 +51,8 @@ use RT::Util;
 $m->callback( ARGSRef => \%ARGS, CallbackName => 'Init', CallbackPage => '/autohandler' );
 
 RT::Interface::Web::HandleRequest(\%ARGS);
+
+$m->comp( '/Elements/Footer', %ARGS );
 </%INIT>
 <%ARGS>
 $user => undef

-----------------------------------------------------------------------


More information about the Rt-commit mailing list