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 ED7D99577 for ; Thu, 21 Jun 2012 22:59:43 +0000 (UTC) Received: (qmail 68591 invoked by uid 500); 21 Jun 2012 22:59:43 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 68517 invoked by uid 500); 21 Jun 2012 22:59:43 -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 68393 invoked by uid 99); 21 Jun 2012 22:59:43 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jun 2012 22:59:43 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 51385142863 for ; Thu, 21 Jun 2012 22:59:43 +0000 (UTC) Date: Thu, 21 Jun 2012 22:59:43 +0000 (UTC) From: "Diogo Lima (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <516953260.41776.1340319583335.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1130852664.41372.1340315142970.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (CB-950) navigator.notification.alert not working outside onDeviceReady on 5.1 sdk 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-950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Diogo Lima updated CB-950: -------------------------- Comment: was deleted (was: Not resolved yet.) > navigator.notification.alert not working outside onDeviceReady on 5.1 sdk > ------------------------------------------------------------------------- > > Key: CB-950 > URL: https://issues.apache.org/jira/browse/CB-950 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Affects Versions: 1.8.1 > Environment: Xcode 4.3.3 iOS 5.1 simulator > Reporter: Diogo Lima > Assignee: Shazron Abdullah > Labels: ios, ios5.1 > Attachments: index.html > > > navigator.notification.alert working only if is inside onDeviceReady, is not working outside. I notice that is working after a reload using document.location = "index.html". > I have created a new project, then the message "Cordova is working!" appears as usual, but when moving it to another