You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/08/07 03:03:45 UTC

[jira] [Commented] (CB-1933) Using comma in button labels

    [ https://issues.apache.org/jira/browse/CB-1933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14088576#comment-14088576 ] 

ASF GitHub Bot commented on CB-1933:
------------------------------------

Github user purplecabbage commented on the pull request:

    https://github.com/apache/cordova-mobile-spec/pull/6#issuecomment-51418167
  
    is this still valid? with everything moved to plugin tests ...
    merge conflicts.


> Using comma in button labels
> ----------------------------
>
>                 Key: CB-1933
>                 URL: https://issues.apache.org/jira/browse/CB-1933
>             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 was sent by Atlassian JIRA
(v6.2#6252)