Re: [Freeipa-devel] [PATCH] admiyo-freeipa-0019-associations.patch

2010-09-07 Thread Pavel Zuna
On 09/04/2010 04:29 AM, Adam Young wrote: You are right. the 'this' pointer always gets overridden, so it has to be assigtned to a nother variable name in order to get used in a closure. Here's an updated patch On 09/03/2010 05:20 PM, Endi Sukma Dewata wrote: Hi Adam, Thanks for the

Re: [Freeipa-devel] [PATCH] admiyo-freeipa-0019-associations.patch

2010-09-07 Thread Adam Young
On 09/07/2010 08:59 AM, Pavel Zuna wrote: On 09/04/2010 04:29 AM, Adam Young wrote: You are right. the 'this' pointer always gets overridden, so it has to be assigtned to a nother variable name in order to get used in a closure. Here's an updated patch On 09/03/2010 05:20 PM, Endi Sukma

Re: [Freeipa-devel] [PATCH] admiyo-freeipa-0019-associations.patch

2010-09-03 Thread Adam Young
Updated version that provides the means to overload the method called. This was requested by edewata to support services. I also simplified some of the internal code . https://fedorahosted.org/freeipa/attachment/ticket/104/admiyo-freeipa-0019-2-associations.patch From

Re: [Freeipa-devel] [PATCH] admiyo-freeipa-0019-associations.patch

2010-09-03 Thread Endi Sukma Dewata
Hi Adam, Thanks for the update. I found a problem, the this.pkey in the callback function below is undefined so it won't load the values back in the details page. diff --git a/install/static/associate.js b/install/static/associate.js index dabc76c..ae1f4af 100644 ---

[Freeipa-devel] [PATCH] admiyo-freeipa-0019-associations.patch

2010-09-02 Thread Adam Young
This patch is primarily concerned with getting associations to work, but all contains some refactorings: Associations work for hostgroups-hosts groups-users and continue to work for users-groups The name of the sampledata file is implied from the ipa command method. Since a missing