cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Max Woghiren (JIRA)" <>
Subject [jira] [Commented] (CB-1933) Using comma in button labels
Date Fri, 15 Feb 2013 21:07:12 GMT


Max Woghiren commented on CB-1933:

You're right; a developer who tries to create a confirm notification that does have a comma
in one of the labels will see undesired behavior on unsupported platforms.

Because of that, I agree that this shouldn't be released until all platforms support it.
> Using comma in button labels
> ----------------------------
>                 Key: CB-1933
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Improvement
>          Components: Android, CordovaJS
>            Reporter: Ingo Bürk
>            Assignee: Max Woghiren
>            Priority: Minor
> It's currently not possible to use comma in button labels when creating confirm dialogs.
This would be useful for buttons like "Yes, Delete".
> Probably a good idea for implementation would be allowing an array as the buttonLabels
argument, e.g.
> {code}navigator.notification.confirm('Alert!', function(){}, function(){}, 'Title', ['Yes,
Do It', 'No']);{code}
> For compatibility it shouldn't be a problem to detect whether a string or an array has
been passed and act accordingly.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message