Fix show contributions after adding with a different contributor
This commit is contained in:
parent
e4d2a711a0
commit
f04e6fd466
1 changed files with 1 additions and 1 deletions
|
@ -610,7 +610,7 @@ on_valid_add_contribution_modal=function(e) {
|
||||||
contribution_uuid=$('#add_contribution_modal #edit_uuid')[0].value;
|
contribution_uuid=$('#add_contribution_modal #edit_uuid')[0].value;
|
||||||
group.updateContribution(contribution_uuid,new Contribution(contributor,cost,title,date,cat));
|
group.updateContribution(contribution_uuid,new Contribution(contributor,cost,title,date,cat));
|
||||||
}
|
}
|
||||||
show_contributions(group,contributor_email);
|
show_contributions(group,$('#view-group #contributor')[0].value);
|
||||||
$('#add_contribution_modal').modal('hide');
|
$('#add_contribution_modal').modal('hide');
|
||||||
$('#add_contribution_modal form')[0].reset();
|
$('#add_contribution_modal form')[0].reset();
|
||||||
groups.save();
|
groups.save();
|
||||||
|
|
Loading…
Reference in a new issue