DG IZ alert on dragging a request, trying to check
This commit is contained in:
parent
d3a8e27833
commit
ef6ce98c12
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue