From b9f6a59a2035b10ae9a4c4df845d67e220ef05f4 Mon Sep 17 00:00:00 2001 From: Joe Bowser Date: Wed, 18 Jul 2012 14:37:45 -0700 Subject: [PATCH] Fix for CB-1085 --- framework/src/org/apache/cordova/CordovaChromeClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/src/org/apache/cordova/CordovaChromeClient.java b/framework/src/org/apache/cordova/CordovaChromeClient.java index 86b575b8..cdfc9d1f 100755 --- a/framework/src/org/apache/cordova/CordovaChromeClient.java +++ b/framework/src/org/apache/cordova/CordovaChromeClient.java @@ -101,7 +101,7 @@ public class CordovaChromeClient extends WebChromeClient { dlg.setOnCancelListener( new DialogInterface.OnCancelListener() { public void onCancel(DialogInterface dialog) { - result.confirm(); + result.cancel(); } }); dlg.setOnKeyListener(new DialogInterface.OnKeyListener() {