Ticket #4679 (closed bug: fixed)

Opened 14 months ago

Last modified 14 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 Download (0.7 KB) - added by wewals 14 months ago.
Patch for Ticket 4679
fixForTicket4679_2.diff Download (0.7 KB) - added by wewals 14 months ago.
Second attempt (this one saves the position relative to the window)

Change History

Changed 14 months ago by scott.gonzalez

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

Changed 14 months ago by wewals

Patch for Ticket 4679

Changed 14 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 14 months ago by wewals

Will do

Changed 14 months ago by wewals

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

Changed 14 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.