IZ now the bg color of the moved people changes to blue and changes back to white when you move them back, still need to reset to white on submit and make it pretty

This commit is contained in:
ilya 2010-08-29 20:23:20 -07:00
parent b85333e52b
commit 9a5f7b4675

View file

@ -19,12 +19,13 @@ $(function() {
move[ 'from' ] = ui.draggable[0].getAttribute('from_group_id');
if (move['to'] == move['from']){
$('#group_list').data( ui.draggable[0].id, []);
ui.draggable.css('background-color','white');
} else{
$('#group_list').data( ui.draggable[0].id, move);
ui.draggable.css('background-color','blue');
}
$(this).closest("ul").append(ui.draggable)
}
$(this).closest("ul").append(ui.draggable);
}
});