You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by vi...@apache.org on 2013/10/06 07:49:36 UTC
git commit: [CB-3621] backbutton events can now throw an exception to
let the native side know that it should exit the app
Updated Branches:
refs/heads/master ab7871466 -> be911f456
[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/master
Commit: be911f456c6b504eeb481552788d52105a057cab
Parents: ab78714
Author: Viras- <vi...@users.sourceforge.net>
Authored: Sun Oct 6 07:47:49 2013 +0200
Committer: Viras- <vi...@users.sourceforge.net>
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)