Wolfgang Koller created CB-1376:
-----------------------------------

             Summary: 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