#4239 closed bug (fixed)
Cannot destroy draggable functionality after drop
Reported by: | bobbykjack | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.8 |
Component: | ui.draggable | Version: | 1.6rc6 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
This is very similar to #4088 and #4087 except that I'm trying to destroy the draggable functionality once it's been dropped, not destroy the entire element. At that method call, I currently get this error:
$(this).data("draggable") is undefined var o = $(this).data('draggable').options; ui.draggable.js (line 583)
I'm attaching two files to demo the problem and a workaround (whose side-effects I'm not too clear on).
Attachments (2)
Change History (7)
Changed 14 years ago by
Attachment: | jquery-draggable-bug.html added |
---|
Changed 14 years ago by
Attachment: | jquery-draggable-bug-workaround.html added |
---|
Test case for disabling draggable functionality after drop
comment:1 Changed 14 years ago by
Milestone: | TBD → 1.7 |
---|
comment:2 Changed 14 years ago by
Milestone: | 1.7 → 1.8 |
---|
comment:3 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Should be fixed with r3103.
comment:4 follow-up: 5 Changed 10 years ago by
This problem still exists in 1.10.2. Either the original fix was reverted or it was never resolved to begin with.
comment:5 Changed 10 years ago by
Replying to usiw:
This problem still exists in 1.10.2. Either the original fix was reverted or it was never resolved to begin with.
The test case originally created with this issue appears to be working just fine against the latest code in master: http://jsfiddle.net/tj_vantoll/7huH8/. If you have an issue that you would like us to look into we'll need a test case that shows the issue.
Test case for destroying draggable functionality after drop