[CB-4792] Added keepCallback to the show function.

This commit is contained in:
Max Woghiren 2013-09-11 12:44:09 -04:00
parent d647f689df
commit 0a3c5587e3

View File

@ -203,7 +203,9 @@ public class InAppBrowser extends CordovaPlugin {
} }
}; };
this.cordova.getActivity().runOnUiThread(runnable); 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 { else {
return false; return false;