Opened 14 years ago

Closed 14 years ago

#4263 closed bug (notabug)

Buttons order in the dialog

Reported by: uncle.f Owned by:
Priority: minor Milestone: 1.6rc6
Component: ui.dialog Version: 1.6rc6
Keywords: button order dialog Cc:
Blocked by: Blocking:


There seem to be no officially documented way to ensure the order of the buttons in a dialog.

With the current release 1.6rc6 if the buttons specified as

buttons:{OK:function(){}, Cancel:function(){}}

the buttons are actually rendered in the following order: Cancel, OK

If this is intended, it should be documented. If this is not intended, then perhaps the order of the object properties should be taken into account.

Change History (2)

comment:1 in reply to:  description Changed 14 years ago by uncle.f

Update: sorry, not a jQuery UI issue. The reverse buttons order happened because of the theme applying css property "float:right" to the buttons.

The issue can be closed.

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

Milestone: TBD1.6rc6
Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.