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 F168E9C29 for ; Fri, 23 Mar 2012 05:16:48 +0000 (UTC) Received: (qmail 47542 invoked by uid 500); 23 Mar 2012 05:16:48 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 47511 invoked by uid 500); 23 Mar 2012 05:16:48 -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 47499 invoked by uid 99); 23 Mar 2012 05:16:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Mar 2012 05:16:48 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Mar 2012 05:16:45 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6BFCB3418A3 for ; Fri, 23 Mar 2012 05:16:24 +0000 (UTC) Date: Fri, 23 Mar 2012 05:16:24 +0000 (UTC) From: "Bryce Curtis (Resolved) (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <12900984.6630.1332479784474.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <566029351.6614.1332479544191.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (CB-375) Resume event should fire only when app is leaving background and coming to foreground, not during page load. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CB-375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bryce Curtis resolved CB-375. ----------------------------- Resolution: Fixed https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-js.git;a=commit;h=ee965b37034f6f6ac9e19d778673c875d0b9ee2c > Resume event should fire only when app is leaving background and coming to foreground, not during page load. > ------------------------------------------------------------------------------------------------------------ > > Key: CB-375 > URL: https://issues.apache.org/jira/browse/CB-375 > Project: Apache Callback > Issue Type: Bug > Components: CordovaJS > Affects Versions: 1.5.0 > Reporter: Bryce Curtis > Assignee: Bryce Curtis > Fix For: 1.6.0 > > > The resume event behavior at init was accidentally included when moving from phonegap.base.js to cordova-js. > The lifecycle behavior is: > * The only Cordova events that user code should register for are: > * deviceready Cordova native code is initialized and Cordova APIs can be called from JS > * pause App has moved to background > * resume App has returned to foreground > * The DOM lifecycle events should be used for saving and restoring state > * window.onload > * window.onunload -- 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