Opened 14 years ago

Closed 14 years ago

#4679 closed bug (fixed)

Dialogs should remember their position after drag

Reported by: Scott González Owned by:
Priority: critical Milestone: 1.8
Component: ui.dialog Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:

Description

On drag stop, the position option should be updated. See jquery-ui-dev thread.

Also, as noted in the thread, we should put together some sample code showing how to keep the original position on each open.

Attachments (2)

fixForTicket4679.diff (682 bytes) - added by wewals 14 years ago.
Patch for Ticket 4679
fixForTicket4679_2.diff (732 bytes) - added by wewals 14 years ago.
Second attempt (this one saves the position relative to the window)

Download all attachments as: .zip

Change History (7)

comment:1 Changed 14 years ago by Scott González

Summary: Dialgos should remember their position after dragDialogs should remember their position after drag

Changed 14 years ago by wewals

Attachment: fixForTicket4679.diff added

Patch for Ticket 4679

comment:3 Changed 14 years ago by Scott González

This should remember position relative to the window. The current patch remembers position relative to the document. Settings options.position to the current position within the window on drag stop should work.

comment:4 Changed 14 years ago by wewals

Will do

Changed 14 years ago by wewals

Attachment: fixForTicket4679_2.diff added

Second attempt (this one saves the position relative to the window)

comment:5 Changed 14 years ago by Scott González

Resolution: fixed
Status: newclosed

Fixed in r2961. Thanks wewals.

Note: See TracTickets for help on using tickets.