Fix show contributions after adding with a different contributor
Benjamin Renard

Benjamin Renard commited on 2014-10-12 22:25:38
Showing 1 changed files, with 1 additions and 1 deletions.

... ...
@@ -610,7 +610,7 @@ on_valid_add_contribution_modal=function(e) {
610 610
     contribution_uuid=$('#add_contribution_modal #edit_uuid')[0].value;
611 611
     group.updateContribution(contribution_uuid,new Contribution(contributor,cost,title,date,cat));
612 612
   }
613
-  show_contributions(group,contributor_email);
613
+  show_contributions(group,$('#view-group #contributor')[0].value);
614 614
   $('#add_contribution_modal').modal('hide');
615 615
   $('#add_contribution_modal form')[0].reset();
616 616
   groups.save();
617 617