[Freeipa-devel] [PATCH] admiyo-freeipa-0043-Whoami-link.patch

Adam Young ayoung at redhat.com
Fri Sep 24 23:57:29 UTC 2010


On 09/24/2010 06:57 PM, Endi Sukma Dewata wrote:
> ----- "Adam Young"<ayoung at 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
>    
Fixed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: admiyo-freeipa-0043-2-Whoami-link.patch
Type: text/x-patch
Size: 3519 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20100924/74ea2018/attachment.bin>


More information about the Freeipa-devel mailing list