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: |
Description
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.
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.