incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christophe A. Guilmart (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-1218) WP7 : BackButton event don't work anymore (since 2.0)
Date Thu, 09 Aug 2012 16:00:18 GMT

     [ https://issues.apache.org/jira/browse/CB-1218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Christophe A. Guilmart updated CB-1218:
---------------------------------------

    Attachment: log.txt
                index.js
                index.html

joint TEST CASE
                
> WP7 : BackButton event don't work anymore (since 2.0)
> -----------------------------------------------------
>
>                 Key: CB-1218
>                 URL: https://issues.apache.org/jira/browse/CB-1218
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP7
>    Affects Versions: 2.0.0
>         Environment: WindowPhone 7.10.8773.98 (7.5) on Nokia Lumia 800.
>            Reporter: Christophe A. Guilmart
>            Assignee: Jesse MacFadyen
>            Priority: Critical
>         Attachments: index.html, index.js, log.txt
>
>
> using the code from the doc (http://docs.phonegap.com/en/2.0.0/cordova_events_events.md.html#backbutton)
or a modifing the template from 2.0.0 (see annexed files), my callback for backbutton is never
called and the location of the page is changed when I press the back button.
> This was working on 1.8.
> h3. Expected behavior:
> * custom callback called
> * prevent default behavior. ie: document.location.href does not change when user press
the physical back button on the terminal
> h3. see also
> * http://stackoverflow.com/q/11866952/154272
> h3. My Config:
> * cordova : 2.0.0
> * Nokia Lumia 800
> * Version OS : 7.10.8773.98 (commercial : 7.5)
> * Microsoft Visual Studio 2010
> Version WPDTRTMRel - 40219.209
> Microsoft .NET Framework
> Version 4.0.30319 SP1Rel
> Installed Version: PD Express

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

        

Mime
View raw message