Ticket #4679 (closed bug: fixed)

Opened 8 months ago

Last modified 8 months ago

Dialogs should remember their position after drag

Reported by: scott.gonzalez Owned by:
Priority: critical Milestone: 1.8
Component: ui.dialog Version: 1.7.2
Keywords: Cc:

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

fixForTicket4679.diff (0.7 kB) - added by wewals 8 months ago.
Patch for Ticket 4679
fixForTicket4679_2.diff (0.7 kB) - added by wewals 8 months ago.
Second attempt (this one saves the position relative to the window)

Change History

Changed 8 months ago by scott.gonzalez

  • summary changed from Dialgos should remember their position after drag to Dialogs should remember their position after drag

Changed 8 months ago by wewals

Patch for Ticket 4679

Changed 8 months ago by scott.gonzalez

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.

Changed 8 months ago by wewals

Will do

Changed 8 months ago by wewals

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

Changed 8 months ago by scott.gonzalez

  • status changed from new to closed
  • resolution set to fixed

Fixed in r2961. Thanks wewals.

Note: See TracTickets for help on using tickets.