summaryrefslogtreecommitdiffstats
path: root/install/static/associate.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/static/associate.js')
-rw-r--r--install/static/associate.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/install/static/associate.js b/install/static/associate.js
index 73ce4d30..207c745c 100644
--- a/install/static/associate.js
+++ b/install/static/associate.js
@@ -65,6 +65,7 @@ in a single rpc
*/
function BulkAssociator(form, manyObjPkeys, on_success)
{
+ var associator = this;
this.form = form;
this.manyObjPkeys = manyObjPkeys;
this.on_success = on_success;
@@ -88,7 +89,7 @@ function BulkAssociator(form, manyObjPkeys, on_success)
if (response.error){
alert("error adding member: "+response.error.message);
}else{
- form.on_success();
+ associator.on_success();
}
},
function(response){