Skip to content
Extraits de code Groupes Projets
Valider ef6ce98c rédigé par Daniel Vincent Grippi's avatar Daniel Vincent Grippi
Parcourir les fichiers

DG IZ alert on dragging a request, trying to check

parent d3a8e278
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -20,6 +20,10 @@ $(function() { ...@@ -20,6 +20,10 @@ $(function() {
$(".group ul").droppable({ $(".group ul").droppable({
drop: function(event, ui) { drop: function(event, ui) {
if (ui.draggable[0].attr('request_id') != undefined){
alert('This is a request!');
}
var move = {}; var move = {};
move[ 'friend_id' ] = ui.draggable[0].id move[ 'friend_id' ] = ui.draggable[0].id
move[ 'to' ] = $(this)[0].id; move[ 'to' ] = $(this)[0].id;
......
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