#6219 closed bug (wontfix)
plugin access error when create a new widget inherited from 'draggable'
Reported by: | justsoso33 | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | ui.draggable | Version: | 1.8.5 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
$.widget("ui.mydraggable", $.ui.draggable {}); $('div').mydraggable() failed in "start" function of "cursor" plugin:
start: function(event, ui) {
var t = $('body'), o = $(this).data('draggable').options;
$(this).data('draggable') == undefined. Maybe change it to $(this).data($(this).widgetName)
Note: See
TracTickets for help on using
tickets.
We're not supporting that plugin model any more. Draggable, and all other interaction plugins, are being rewritten and that plugin system will be removed.