You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by bo...@apache.org on 2012/11/19 19:33:03 UTC

js commit: Switching back in favour of Java fix

Updated Branches:
  refs/heads/master 13840a8cd -> 48d5bb1be


Switching back in favour of Java fix


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/commit/48d5bb1b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/48d5bb1b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/48d5bb1b

Branch: refs/heads/master
Commit: 48d5bb1be59e5f0a4df3e896788b40bca35b3d69
Parents: 13840a8
Author: Joe Bowser <bo...@apache.org>
Authored: Mon Nov 19 10:27:29 2012 -0800
Committer: Joe Bowser <bo...@apache.org>
Committed: Mon Nov 19 10:27:29 2012 -0800

----------------------------------------------------------------------
 lib/android/exec.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/48d5bb1b/lib/android/exec.js
----------------------------------------------------------------------
diff --git a/lib/android/exec.js b/lib/android/exec.js
index bbc66cc..c6e426f 100644
--- a/lib/android/exec.js
+++ b/lib/android/exec.js
@@ -67,7 +67,7 @@ function androidExec(success, fail, service, action, args) {
     // Set default bridge modes if they have not already been set.
     // By default, we use the failsafe, since addJavascriptInterface breaks too often
     if (jsToNativeBridgeMode === undefined) {
-        androidExec.setJsToNativeBridgeMode(jsToNativeModes.PROMPT);
+        androidExec.setJsToNativeBridgeMode(jsToNativeModes.JS_OBJECT);
     }
 
     var callbackId = service + cordova.callbackId++,