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

ASF subversion and git services commented on CB-10198:
------------------------------------------------------

Commit 599acc55e7fe8008f6b1646015aea521b942ace1 in cordova-osx's branch 
refs/heads/master from Andrew
[ https://git-wip-us.apache.org/repos/asf?p=cordova-osx.git;h=599acc5 ]

CB-10198 Prompt submission bug

Fixes an issue where clicking "OK" in a pop-up prompt does not return any value 
(despite being entered). The previous button-value checked was the constant 
NSAlertDefaultReturn, but since the NSAlert was created with the 'init' 
constructor, the runModal method will return one of 
NSAlert{first,second,third}ButtonReturn constants.. This closes #27


> Prompt submission bug
> ---------------------
>
>                 Key: CB-10198
>                 URL: https://issues.apache.org/jira/browse/CB-10198
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: OSX
>            Reporter: Andrew Kubera
>            Assignee: Tobias Bocanegra
>             Fix For: Master
>
>
> When prompting the user, the CDVWebViewDelegate class currently checks if the 
> NSAlert return value is NSAlertDefaultReturn, it should be 
> NSAlertFirstButtonReturn to actually submit a value.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to