cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-9672) Device Back Button Works only once in all html pages When i install app
Date Tue, 10 Nov 2015 17:54:11 GMT

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

Joe Bowser resolved CB-9672.
----------------------------
    Resolution: Not A Problem

The back button is being overridden incorrectly.  I recommend checking Slack Overflow to show
how to override the back button without complete breaking it.

> Device Back Button Works only once in all html pages When i install app
> -----------------------------------------------------------------------
>
>                 Key: CB-9672
>                 URL: https://issues.apache.org/jira/browse/CB-9672
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, CordovaLib
>    Affects Versions: 4.1.1
>         Environment: windows 8.1 Android adt eclipse
>            Reporter: irfan baig
>              Labels: features
>   Original Estimate: 12h
>  Remaining Estimate: 12h
>
> Device Back Button Works only once in all html pages When i install app.
> Code:
> function onLoad() {
>     document.addEventListener("deviceready", onDeviceReady, false);
> }
> // device APIs are available
> //
> function onDeviceReady() {
>     // Now safe to use the Cordova API
> 	/* Registering the basic events associated with device hardware */
> 	document.addEventListener("backbutton", function() {
>     	$("#back").click();
>     }, false);
> }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message