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

Wolfgang Koller commented on CB-1376:
-------------------------------------

I've just pushed the commit to the cordova-js repository - you might want to 
review it as it contains code-changes for the common cordova.js code! If you 
have any better ideas to fix this please let me know!
                
> Exceptions of custom backbutton handlers are not returned to native code 
> anymore
> --------------------------------------------------------------------------------
>
>                 Key: CB-1376
>                 URL: https://issues.apache.org/jira/browse/CB-1376
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaJS, WP7
>    Affects Versions: Master
>            Reporter: Wolfgang Koller
>            Assignee: Filip Maj
>             Fix For: Master
>
>
> on windows phone 7 it was always possible to throw an exception in a custom 
> backbutton handler function to trigger the default behaviour (AKA close the 
> app).
> However since the backbutton event firing is detached in the common-js part 
> using a setTimeout function, those exceptions are not caught by the native 
> code anymore.
> I've already fixed this and will push the fix in a few minutes, I'm only 
> adding this issue to document why I've done those changes.

--
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: http://www.atlassian.com/software/jira

Reply via email to