Skip to main content

Search and Top Navigation

#4263 closed bug (notabug)

Opened March 02, 2009 06:53PM UTC

Closed March 16, 2009 12:56AM UTC

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.

Attachments (0)
Change History (2)

Changed March 03, 2009 11:18AM UTC by uncle.f comment:1

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.

Changed March 16, 2009 12:56AM UTC by scottgonzalez comment:2

milestone: TBD1.6rc6
resolution: → invalid
status: newclosed