Open Bug 1353154 Opened 7 years ago Updated 11 months ago

Support renaming the buttons for nsIPromptService.select

Categories

(Toolkit :: Content Prompts, enhancement)

enhancement

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
Severity: normal → S3
Component: Notifications and Alerts → Content Prompts
You need to log in before you can comment on or make changes to this bug.