Skip to content
Extraits de code Groupes Projets
Valider b4db6cc2 rédigé par Daniel Grippi & Raphael Sofaer's avatar Daniel Grippi & Raphael Sofaer
Parcourir les fichiers

Merge branch 'master' of github.com:diaspora/diaspora

parents 7984756a 82ff7dc4
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -3,6 +3,7 @@ $('#move_friends_link').live( 'click', ...@@ -3,6 +3,7 @@ $('#move_friends_link').live( 'click',
$.post('/groups/move_friends', $.post('/groups/move_friends',
{'moves' : $('#group_list').data()}, {'moves' : $('#group_list').data()},
function(){ $('#group_title').html("Groups edited successfully!");}); function(){ $('#group_title').html("Groups edited successfully!");});
$(".person").css('background-color','white');
}); });
$(function() { $(function() {
...@@ -19,12 +20,13 @@ $(function() { ...@@ -19,12 +20,13 @@ $(function() {
move[ 'from' ] = ui.draggable[0].getAttribute('from_group_id'); move[ 'from' ] = ui.draggable[0].getAttribute('from_group_id');
if (move['to'] == move['from']){ if (move['to'] == move['from']){
$('#group_list').data( ui.draggable[0].id, []); $('#group_list').data( ui.draggable[0].id, []);
ui.draggable.css('background-color','white');
} else{ } else{
$('#group_list').data( ui.draggable[0].id, move); $('#group_list').data( ui.draggable[0].id, move);
ui.draggable.css('background-color','orange');
} }
$(this).closest("ul").append(ui.draggable);
$(this).closest("ul").append(ui.draggable) }
}
}); });
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter