Ticket #5459 (closed enhancement: fixed)
Dialog: expose .position() API
| Reported by: | scott.gonzalez | Owned by: | |
|---|---|---|---|
| Priority: | blocker | Milestone: | 1.8.3 |
| Component: | ui.dialog | Version: | 1.8 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
Update the position option to accept a hash to pass through to .position().
See #5458.
Change History
comment:2 Changed 3 years ago by scott.gonzalez
- Status changed from new to closed
- Resolution set to fixed
Fixed in 6de9a53. Thanks Ben.
comment:4 Changed 3 years ago by Ben Hollis
Dialog: allow setting position with ui.position arguments. Fixes #5459 - Dialog: expose .position() API
Changeset: 6de9a5368c3e0523f91f08e7b1516549ce006f98
Note: See
TracTickets for help on using
tickets.


I sent a pull request for a patch that adds the ability to use ui.position arguments to position dialogs: http://github.com/bhollis/jquery-ui/commit/9c9a22c47e96362e38b29fed4c615e795a17dc5c
Note that my patch preserves all the current documented ways of setting position (string, array) but not the undocumented object argument.