[Rt-commit] rt branch, 4.0/mobile-menu-callback, created. rt-4.0.2-200-gd75761c
Kevin Falcone
falcone at bestpractical.com
Wed Nov 2 19:30:28 EDT 2011
The branch, 4.0/mobile-menu-callback has been created
at d75761c61a9f71b1288efc903e5607ade4971cd6 (commit)
- Log -----------------------------------------------------------------
commit 0cb35fcf158b6279b67d9972d13d29e0eb3fd64f
Author: Shawn M Moore <sartak at gmail.com>
Date: Sat Oct 29 09:08:39 2011 -0400
Add callback for massaging mobile menu
diff --git a/share/html/m/_elements/menu b/share/html/m/_elements/menu
index 6be7bd5..365edcf 100644
--- a/share/html/m/_elements/menu
+++ b/share/html/m/_elements/menu
@@ -105,4 +105,6 @@ if ( $session{'CurrentUser'}->HasRight( Right => 'LoadSavedSearch', Object => $
}
}
push @menu, { label => loc("Logout"), url => '/m/logout', } ;
+
+$m->callback( CallbackName => 'MassageMenu', Links => \@menu );
</%init>
commit d75761c61a9f71b1288efc903e5607ade4971cd6
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Wed Nov 2 19:30:07 2011 -0400
Rename the argument to be a little more consistent with what it's doing
diff --git a/share/html/m/_elements/menu b/share/html/m/_elements/menu
index 365edcf..0f552b3 100644
--- a/share/html/m/_elements/menu
+++ b/share/html/m/_elements/menu
@@ -106,5 +106,5 @@ if ( $session{'CurrentUser'}->HasRight( Right => 'LoadSavedSearch', Object => $
}
push @menu, { label => loc("Logout"), url => '/m/logout', } ;
-$m->callback( CallbackName => 'MassageMenu', Links => \@menu );
+$m->callback( CallbackName => 'MassageMenu', Menu => \@menu );
</%init>
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list