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

Simon MacDonald commented on CB-889:
------------------------------------

The behaviour was changed to fix this bug:

https://issues.apache.org/jira/browse/CB-549

Regardless of OS the Cancel button will always return 1. It doesn't matter if 
it is first or second in the dialog box in Android. I'm not really sure if this 
bug should get fixed. The way things are setup now they are following the 
Android UI Guidelines.
                
> Order of buttons in navigator.notification.confirm between iOS and Android
> --------------------------------------------------------------------------
>
>                 Key: CB-889
>                 URL: https://issues.apache.org/jira/browse/CB-889
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.7.0, 1.8.0
>            Reporter: Simon MacDonald
>            Assignee: Simon MacDonald
>            Priority: Minor
>
> It seems like the order of buttons in navigator.notification.confirm is 
> reversed on Android as compared to iOS. So if you do:
> navigator.notification.confirm("Are you sure ?", registrationCallBack, 
> "Confirmation", "Cancel, Ok");
> in iOS the buttons show up as "Cancel" "Ok" but in Android they show up as 
> "Ok" "Cancel".  See this SO for images:
> http://stackoverflow.com/questions/9819851/order-of-buttons-in-navigator-notification-confirm-in-phonegap-framework

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to