You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Colin Bau (JIRA)" <ji...@apache.org> on 2014/05/06 07:53:15 UTC

[jira] [Comment Edited] (CB-6527) "backbutton" issues with winphone

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

Colin Bau edited comment on CB-6527 at 5/6/14 5:52 AM:
-------------------------------------------------------

hi Jesse
have you ever try for these code
document.addEventListener("backbutton", onBackKeyDown, false)
function onBackKeyDown()
{
var confirm_buttonIndex = window.confirm('test');
}
it will trigger and show the message window,but after 9-12 second,the app will Terminated unexpectedly
http://www.littlebau.com/winalert.jpg


was (Author: bau720123):
hi Jesse
have you ever try for these code
document.addEventListener("backbutton", onBackKeyDown, false)
function onBackKeyDown()
{
var confirm_buttonIndex = window.confirm('test');
}
it will trigger and show the message window,but after 9-12 second,the app will Terminated unexpectedly

> "backbutton" issues with winphone
> ---------------------------------
>
>                 Key: CB-6527
>                 URL: https://issues.apache.org/jira/browse/CB-6527
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: WP7, WP8
>    Affects Versions: 3.3.0, 3.4.0
>         Environment: PGB 3.3 or 3.4
> WP8
>            Reporter: Colin Bau
>            Assignee: Jesse MacFadyen
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> hi~
> I really found a "backbutton" issues with winphone
> the original post and detail Explanation is all under here
> https://github.com/phonegap/build/issues/294
> document.addEventListener("backbutton", onBackKeyDown, false); 
> function onBackKeyDown() { alert('ok'); } 
> so,any help~?



--
This message was sent by Atlassian JIRA
(v6.2#6252)