cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-10198) Prompt submission bug
Date Tue, 15 Dec 2015 17:52:46 GMT

    [ 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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message