Ticket #5459 (closed enhancement: fixed)

Opened 6 years ago

Last modified 5 years ago

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:


Update the position option to accept a hash to pass through to .position().

See #5458.

Change History

comment:1 Changed 5 years ago by bhollis

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.

comment:2 Changed 5 years ago by scott.gonzalez

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in  6de9a53. Thanks Ben.

comment:3 Changed 5 years ago by scott.gonzalez

  • Milestone changed from 1.9 to 1.8.3

comment:4 Changed 5 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.