DG IZ alert on dragging a request, trying to check

This commit is contained in:
Daniel Vincent Grippi 2010-09-10 15:41:58 -07:00
parent d3a8e27833
commit ef6ce98c12

View file

@ -20,6 +20,10 @@ $(function() {
$(".group ul").droppable({
drop: function(event, ui) {
if (ui.draggable[0].attr('request_id') != undefined){
alert('This is a request!');
}
var move = {};
move[ 'friend_id' ] = ui.draggable[0].id
move[ 'to' ] = $(this)[0].id;