Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#1812 closed bug (fixed)

Draggable error in function revert with helper defined as function

Reported by: trta Owned by: paul
Priority: major Milestone: 1.5
Component: ui.core Version: 1.2.1
Keywords: Cc:
Blocked by: Blocking:


If I define helper option like this:

  appendTo: $(document.body),
  helper: function() { 
    return $('<div id="proxy">proxy...</div>');

I get error (when dragging is finished and helper is to be reverted) in file ui.draggable.ext.js on line 85 (o.po is not defined), the quick fix is to modify lines 85, 86 like this:

var nl = rpos.left-(o.po ? o.po.left : 0)-o.margins.left;
var nt = ? o.po.left : 0);

but I dont have necessary insight...

Change History (4)

comment:1 Changed 15 years ago by paul

Owner: set to paul
Status: newassigned

comment:2 Changed 15 years ago by paul

Resolution: fixed
Status: assignedclosed

Fixed in the new version to be released with 1.1. Thanks!

comment:3 Changed 15 years ago by (none)

Milestone: 1.2.2

Milestone 1.2.2 deleted

comment:4 Changed 14 years ago by paul

Milestone: 1.5
Note: See TracTickets for help on using tickets.