Search and Top Navigation
#8209 closed bug (notabug)
Opened March 23, 2012 09:02AM UTC
Closed April 07, 2012 08:33AM UTC
a(this).data("draggable") is undefined when connected with droppable
Reported by: | neonkowy | Owned by: | neonkowy |
---|---|---|---|
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'
});
Attachments (0)
Change History (2)
Changed March 23, 2012 11:38AM UTC by comment:1
owner: | → neonkowy |
---|---|
status: | new → pending |
Changed April 07, 2012 08:33AM UTC by comment:2
resolution: | → invalid |
---|---|
status: | pending → closed |
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!
Please provide the full code, using jsbin or jsFiddle. Also, please don't report bugs against minified code.