Skip to main content

Search and Top Navigation

#4213 closed enhancement (wontfix)

Opened February 22, 2009 10:34PM UTC

Closed March 16, 2009 12:56AM UTC


Reported by: patrick232 Owned by:
Priority: minor Milestone: 1.7
Component: ui.dialog Version: 1.6rc6
Keywords: Cc:
Blocked by: Blocking:

hey there,

id like to have an option quite similar to the buttons-option, but not to create buttons in the buttons-pane. I want to add some buttons in the Titlebar.

I did some hacking on the ui.dialog.js and got it working for my purposes (see the attached my_ui.dialog.js). Anyway its _far_ away from ready to use, just want to know if you would do it the same way.

I added the option "titlebarbuttons" and changed the css-class of the close-button from ui-dialog-titlebar-close to ui-dialog-titlebar-button as I add this class to every button which will be added to the Titlebar. The TitlebarButtons will be added with the _createTitlebarButtons function.


.ui-dialog-titlebar-button {float:right;} 



Anyway I didnt further patching, without asking for your thoughts on this enhancement and how to implement it - so my file is very ugly :p

Attachments (1)
  • my_ui.dialog.js (17.1 KB) - added by patrick232 February 22, 2009 10:36PM UTC.

    _very initial_ try to implement an option for adding buttons to the titlebar

Change History (1)

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

milestone: TBD1.7
resolution: → wontfix
status: newclosed

Adding additional buttons in the titlebar is not common enough for us to support. If you want to do this, you should just manually add the buttons after creating the dialog.