----- "Adam Young" <ayo...@redhat.com> wrote:

> On 09/24/2010 10:53 AM, Adam Young wrote:
> > Whoami link
> >     The 'logged in as' message in the header into an active hypoerlink 
> > that loads the details page for the current user.
> >     Also fixed a bug where, when reloading, the search page would fail 
> > due to scl being undefined

NACK. There's a small problem, it should use user-pkey instead of pkey:

diff --git a/install/static/webui.js b/install/static/webui.js
index b537938..a3d354b 100644
--- a/install/static/webui.js
+++ b/install/static/webui.js
@@ -57,7 +57,7 @@ $(function() {
             whoami_pkey=whoami.uid[0];
             $('#loggedinas').find('strong').text(whoami.krbprincipalname[0]);
             $('#loggedinas a').fragment(
-                {'user-facet':'details', 'pkey':whoami_pkey},2);
+                {'user-facet':'details', 'user-pkey':whoami_pkey},2);
             if (whoami.hasOwnProperty('memberof_rolegroup') &&
                 whoami.memberof_rolegroup.length > 0){
                 nav_tabs_lists = admin_tabs_lists;

--
Endi S. Dewata

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to