Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D10E0DF9D for ; Sat, 18 Aug 2012 15:28:38 +0000 (UTC) Received: (qmail 66369 invoked by uid 500); 18 Aug 2012 15:28:38 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 66341 invoked by uid 500); 18 Aug 2012 15:28:38 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 66328 invoked by uid 99); 18 Aug 2012 15:28:38 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Aug 2012 15:28:38 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 107902C5BE4 for ; Sat, 18 Aug 2012 15:28:38 +0000 (UTC) Date: Sun, 19 Aug 2012 02:28:38 +1100 (NCT) From: "Flavio Spezi (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <1572745194.26938.1345303718068.JavaMail.jiratomcat@arcas> In-Reply-To: <1784530714.2226.1344527899566.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Commented] (CB-1218) WP7 : BackButton event don't work anymore (since 2.0) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-1218?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13437346#comment-13437346 ] Flavio Spezi commented on CB-1218: ---------------------------------- I confirm, I have the same error. > 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