Skip to main content

Search and Top Navigation

#8103 closed bug (fixed)

Opened February 06, 2012 04:53PM UTC

Closed February 08, 2012 11:25AM UTC

Sortable: cursorAt Documentation in error

Reported by: gruber76 Owned by: gruber76
Priority: minor Milestone: 1.8.18
Component: [meta] ui.docs Version: 1.8.17
Keywords: Cc:
Blocked by: Blocking:
Description

http://jqueryui.com/demos/sortable/#option-cursorAt

Documentation does not reflect current version. Actual functionality appears to match Draggable's cursorAt: http://jqueryui.com/demos/draggable/#option-cursorAt

Attachments (0)
Change History (3)

Changed February 07, 2012 12:12PM UTC by rdworth comment:1

owner: → gruber76
status: newpending

How so? Sortable cursorAt says

Moves the sorting element or helper so the cursor always appears to drag from the same position. Coordinates can be given as a hash using a combination of one or two keys: { top, left, right, bottom }.

Draggable cursorAt says

Sets the offset of the dragging helper relative to the mouse cursor. Coordinates can be given as a hash using a combination of one or two keys: { top, left, right, bottom }.

To me, that's two different ways of saying exactly the same thing.

Changed February 08, 2012 06:59AM UTC by gruber76 comment:2

status: pendingnew

You are correct, sorry for the confusion on my part. The Code Example, however, is incorrect and reflects the passing of a string rather than an object.

Changed February 08, 2012 11:25AM UTC by rdworth comment:3

milestone: 1.91.8.18
resolution: → fixed
status: newclosed

Thanks. Fixed at http://docs.jquery.com/UI/API/1.8/Sortable#option-cursorAt . Will update on jqueryui.com/demos once 1.8.18 goes live