Search and Top Navigation
#6219 closed bug (wontfix)
Opened October 23, 2010 06:57AM UTC
Closed October 23, 2010 11:51PM UTC
Last modified October 11, 2012 09:15PM UTC
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)
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.