Fixed add contributor

This commit is contained in:
Benjamin Renard 2014-01-18 00:21:05 +01:00
parent 903c4f071b
commit 102d1d1a17

View file

@ -180,7 +180,7 @@ show_contributions=function(group,contributor_name) {
* Add/Edit/remove contributor * Add/Edit/remove contributor
******************************/ ******************************/
on_click_add_contributor_btn=function() { on_click_add_contributor_btn=function() {
$('#add_contributor_modal').data('group-uuid',('#view-group').data('uuid')) $('#add_contributor_modal').data('group-uuid',$('#view-group').data('uuid'))
$($('#add_contributor_modal h4')[0]).html('Ajouter un participant'); $($('#add_contributor_modal h4')[0]).html('Ajouter un participant');
$($('#add_contributor_modal #add_contributor_submit')[0]).html('Ajouter'); $($('#add_contributor_modal #add_contributor_submit')[0]).html('Ajouter');
$('#view-group #edit_id')[0].value='-1'; $('#view-group #edit_id')[0].value='-1';