diff options
author | Adam Young <ayoung@redhat.com> | 2010-09-07 13:13:59 -0400 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2010-09-07 13:13:59 -0400 |
commit | 221351809b94f71572219177b36443a60c157cf7 (patch) | |
tree | d20416223754e87419ba790648d07282dcccc4eb | |
parent | dde15772700da41ec931bb55087fbec6f30fab55 (diff) | |
download | freeipa-221351809b94f71572219177b36443a60c157cf7.tar.gz freeipa-221351809b94f71572219177b36443a60c157cf7.tar.xz freeipa-221351809b94f71572219177b36443a60c157cf7.zip |
local param for this in closure
-rw-r--r-- | install/static/associate.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install/static/associate.js b/install/static/associate.js index 748c40e63..c11642ba9 100644 --- a/install/static/associate.js +++ b/install/static/associate.js @@ -85,7 +85,7 @@ function BulkAssociator(form, pkey, manyObjPkeys){ options[form.manyObj] = option; var args = [this.pkey]; - + var associator = this; ipa_cmd( form.method,args, options , function(response){ var qs = ipa_parse_qs(); @@ -93,7 +93,7 @@ function BulkAssociator(form, pkey, manyObjPkeys){ alert("error adding memeber"); }else{ location.hash="tab=" +form.oneObj - +"&facet=details&pkey="+this.pkey; + +"&facet=details&pkey="+associator.pkey; } }, function(response){ |