Search and Top Navigation
#1812 closed bug (fixed)
Opened October 17, 2007 11:29AM UTC
Closed December 27, 2007 01:40PM UTC
Last modified February 26, 2009 11:13AM UTC
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: |
Description
If I define helper option like this:
$('.items').draggable({ appendTo: $(document.body), helper: function() { $('#proxy').remove(); 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 = rpos.top-(o.po ? o.po.left : 0)-o.margins.top;
but I dont have necessary insight...
Attachments (0)
Change History (4)
Changed October 24, 2007 04:13PM UTC by comment:1
owner: | → paul |
---|---|
status: | new → assigned |
Changed December 27, 2007 01:40PM UTC by comment:2
resolution: | → fixed |
---|---|
status: | assigned → closed |
Fixed in the new version to be released with 1.1. Thanks!
Changed May 24, 2008 03:39AM UTC by comment:3
milestone: | 1.2.2 |
---|
Milestone 1.2.2 deleted
Changed February 26, 2009 11:13AM UTC by comment:4
milestone: | → 1.5 |
---|