You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2013/09/27 00:26:56 UTC
[02/13] git commit: [CB-4792] Added keepCallback to the show function.
[CB-4792] Added keepCallback to the show function.
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/commit/0a3c5587
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/tree/0a3c5587
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/diff/0a3c5587
Branch: refs/heads/master
Commit: 0a3c5587e36305ecacfa2d9568444020a8b2c2a8
Parents: d647f68
Author: Max Woghiren <ma...@gmail.com>
Authored: Wed Sep 11 12:44:09 2013 -0400
Committer: Max Woghiren <ma...@gmail.com>
Committed: Wed Sep 11 12:44:09 2013 -0400
----------------------------------------------------------------------
src/android/InAppBrowser.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/blob/0a3c5587/src/android/InAppBrowser.java
----------------------------------------------------------------------
diff --git a/src/android/InAppBrowser.java b/src/android/InAppBrowser.java
index 0dd1094..497c15b 100644
--- a/src/android/InAppBrowser.java
+++ b/src/android/InAppBrowser.java
@@ -203,7 +203,9 @@ public class InAppBrowser extends CordovaPlugin {
}
};
this.cordova.getActivity().runOnUiThread(runnable);
- this.callbackContext.sendPluginResult(new PluginResult(PluginResult.Status.OK));
+ PluginResult pluginResult = new PluginResult(PluginResult.Status.OK);
+ pluginResult.setKeepCallback(true);
+ this.callbackContext.sendPluginResult(pluginResult);
}
else {
return false;