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() {