parent
9a15737577
commit
416b05c1e5
@ -1325,7 +1325,7 @@ public class InAppBrowser extends CordovaPlugin {
|
|||||||
private boolean sendBeforeLoad(String url, String method) {
|
private boolean sendBeforeLoad(String url, String method) {
|
||||||
try {
|
try {
|
||||||
JSONObject obj = new JSONObject();
|
JSONObject obj = new JSONObject();
|
||||||
obj.put("type", "beforeload");
|
obj.put("type", BEFORELOAD);
|
||||||
obj.put("url", url);
|
obj.put("url", url);
|
||||||
if(method != null) {
|
if(method != null) {
|
||||||
obj.put("method", method);
|
obj.put("method", method);
|
||||||
@ -1406,8 +1406,6 @@ public class InAppBrowser extends CordovaPlugin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
public void onPageFinished(WebView view, String url) {
|
public void onPageFinished(WebView view, String url) {
|
||||||
super.onPageFinished(view, url);
|
super.onPageFinished(view, url);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user