Fix contributor deletion
This commit is contained in:
parent
47542c397f
commit
e6082c8441
1 changed files with 3 additions and 2 deletions
|
@ -308,8 +308,9 @@ on_edit_contributor_btn_click=function(e) {
|
|||
}
|
||||
|
||||
on_click_del_contributor_btn=function() {
|
||||
contributor=$('#view-group #contributor')[0].value;
|
||||
question='Voulez-vous vraiment supprimer '+contributor+' ?';
|
||||
var group=groups[$('#view-group').data('uuid')];
|
||||
contributor=group.contributorByEmail($('#view-group #contributor')[0].value);
|
||||
question='Voulez-vous vraiment supprimer '+contributor.name+' ?';
|
||||
myconfirm(question,on_confirm_del_contributor,null,contributor);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue