From f04e6fd46691b358548d6b05ef08a1416b7d3367 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Mon, 13 Oct 2014 00:25:38 +0200 Subject: [PATCH] Fix show contributions after adding with a different contributor --- inc/myco.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/myco.js b/inc/myco.js index 01a5d59..8603a3d 100644 --- a/inc/myco.js +++ b/inc/myco.js @@ -610,7 +610,7 @@ on_valid_add_contribution_modal=function(e) { contribution_uuid=$('#add_contribution_modal #edit_uuid')[0].value; 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 form')[0].reset(); groups.save();