Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C76251077E for ; Fri, 1 Nov 2013 01:27:00 +0000 (UTC) Received: (qmail 98942 invoked by uid 500); 1 Nov 2013 01:26:57 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 98810 invoked by uid 500); 1 Nov 2013 01:26:57 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 98317 invoked by uid 99); 1 Nov 2013 01:26:56 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Nov 2013 01:26:56 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id C36E56FEB; Fri, 1 Nov 2013 01:26:56 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: purplecabbage@apache.org To: commits@cordova.apache.org Date: Fri, 01 Nov 2013 01:27:24 -0000 Message-Id: <4d33ca33342f4e48ba909a8c3d76fb07@git.apache.org> In-Reply-To: <6e50592f080745d9b8e6985cca410e08@git.apache.org> References: <6e50592f080745d9b8e6985cca410e08@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [29/50] [abbrv] git commit: [CB-3621] backbutton events can now throw an exception to let the native side know that it should exit the app [CB-3621] backbutton events can now throw an exception to let the native side know that it should exit the app Project: http://git-wip-us.apache.org/repos/asf/cordova-wp8/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-wp8/commit/be911f45 Tree: http://git-wip-us.apache.org/repos/asf/cordova-wp8/tree/be911f45 Diff: http://git-wip-us.apache.org/repos/asf/cordova-wp8/diff/be911f45 Branch: refs/heads/2.9.x Commit: be911f456c6b504eeb481552788d52105a057cab Parents: ab78714 Author: Viras- Authored: Sun Oct 6 07:47:49 2013 +0200 Committer: Viras- Committed: Sun Oct 6 07:47:49 2013 +0200 ---------------------------------------------------------------------- wp8/template/cordovalib/CordovaView.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/be911f45/wp8/template/cordovalib/CordovaView.xaml.cs ---------------------------------------------------------------------- diff --git a/wp8/template/cordovalib/CordovaView.xaml.cs b/wp8/template/cordovalib/CordovaView.xaml.cs index c4c4726..a1d121a 100644 --- a/wp8/template/cordovalib/CordovaView.xaml.cs +++ b/wp8/template/cordovalib/CordovaView.xaml.cs @@ -379,7 +379,7 @@ namespace WPCordovaClassLib { try { - CordovaBrowser.InvokeScript("eval", new string[] { "cordova.fireDocumentEvent('backbutton');" }); + CordovaBrowser.InvokeScript("eval", new string[] { "cordova.fireDocumentEvent('backbutton', {}, true);" }); e.Cancel = true; } catch (Exception ex)