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

Adam Young ayoung at redhat.com
Sat Sep 25 00:00:03 UTC 2010


On 09/24/2010 07:57 PM, Adam Young wrote:
> 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
>
>
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-develF


Forgot that crucial "git add" step before committing. Fix is in this patch.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20100924/35eb0eb6/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: admiyo-freeipa-0043-3-Whoami-link.patch
Type: text/x-patch
Size: 3716 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20100924/35eb0eb6/attachment.bin>


More information about the Freeipa-devel mailing list