Open Bug 1353154 Opened 2 years ago Updated 2 years ago

Support renaming the buttons for nsIPromptService.select

Categories

(Toolkit :: Notifications and Alerts, enhancement)

enhancement
Not set

Tracking

()

Tracking Status
firefox55 --- affected

People

(Reporter: squib, Unassigned)

Details

It's currently not possible to set the button labels for the dialog created by nsIPromptService.select. This makes it harder to create friendly UIs, since the buttons are always OK/Cancel. For example, bug 1222032 would like to change the OK button to "Update". We could do something like .selectEx here (similar to .confirmEx) or perhaps come up with a totally new way of handling this case.
Component: XUL → Notifications and Alerts
Product: Core → Toolkit
You need to log in before you can comment on or make changes to this bug.