Opened 7 years ago

Closed 7 years ago

#8209 closed bug (notabug)

a(this).data("draggable") is undefined when connected with droppable

Reported by: Paul Tomkiel Owned by: Paul Tomkiel
Priority: minor Milestone: 1.9.0
Component: ui.draggable Version: 1.8.18
Keywords: Cc:
Blocked by: Blocking:

Description

i fixed this with my project with

"var d=a(this).data("draggable").options;d._cursor&&a("body").css("cursor",d._cursor)

var d=a(this).data("draggable");if(d){d=d.options;d._cursor&&a("body").css("cursor",d._cursor)}"

Code: $(".marks_column").droppable({

accept: '.marks_column', drop: function(event, ui) {

$('#content_wrapper').load("some_url");

});

}

});

$('.marks_column').draggable({

handle : '.marks_importance', helper: 'clone', grid: [1,1], containment: '#marks_column_container'

});

Change History (2)

comment:1 Changed 7 years ago by Scott González

Owner: set to Paul Tomkiel
Status: newpending

Please provide the full code, using jsbin or jsFiddle. Also, please don't report bugs against minified code.

comment:2 Changed 7 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Note: See TracTickets for help on using tickets.