[Rt-commit] rt branch, master, updated. rt-4.1.8-543-gafea366

Alex Vandiver alexmv at bestpractical.com
Wed Jun 5 03:50:22 EDT 2013


The branch, master has been updated
       via  afea366aa3862b166c5643ca68142b6c64e20d30 (commit)
      from  8dd9a91093a52d019d76d16854a87b8850e7ef7a (commit)

Summary of changes:
 share/html/Elements/Tabs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit afea366aa3862b166c5643ca68142b6c64e20d30
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Tue Jun 4 15:38:57 2013 -0400

    Pass the request path to the callback, for use in PageMenu() configuration

diff --git a/share/html/Elements/Tabs b/share/html/Elements/Tabs
index 424c0e6..eb907ae 100644
--- a/share/html/Elements/Tabs
+++ b/share/html/Elements/Tabs
@@ -912,7 +912,7 @@ my $build_main_nav = sub {
         PageMenu()->child( edit => title => loc('Edit'), path => '/Prefs/MyRT.html' );
     }
 
-    $m->callback( CallbackName => 'Privileged' );
+    $m->callback( CallbackName => 'Privileged', Path => $request_path );
 };
 
 my $build_selfservice_nav = sub {
@@ -965,7 +965,7 @@ my $build_selfservice_nav = sub {
 
     PageWidgets->child( goto => raw_html => $m->scomp('/SelfService/Elements/GotoTicket') );
 
-    $m->callback( CallbackName => 'SelfService' );
+    $m->callback( CallbackName => 'SelfService', Path => $request_path );
 };
 
 

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


More information about the Rt-commit mailing list