cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
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
Date Fri, 01 Nov 2013 01:27:24 GMT
[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- <viras@users.sourceforge.net>
Authored: Sun Oct 6 07:47:49 2013 +0200
Committer: Viras- <viras@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)


Mime
View raw message