Search and Top Navigation
#4842 closed bug (wontfix)
Opened September 07, 2009 09:27AM UTC
Closed October 20, 2010 03:33AM UTC
draggable droppable ignore change scope
Reported by: | powderkeg | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.droppable | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
when i change (on drop) scope of droppable element it still accept draggable elements with other scope
examle:
$(".ui-draggable").draggable({
revert: 'invalid',
scope: 'enable',
});
$(".ui-droppable").droppable({
accept: '.ui-draggable',
scope: 'enable',
drop: function(event, ui) {
$(this).draggable('option', 'scope', 'disable');
},
});