From 3a1fea5d8b1cebb852bc1b9a8b869642c9a7a318 Mon Sep 17 00:00:00 2001 From: robario Date: Fri, 18 Dec 2015 17:32:24 +0900 Subject: [PATCH] Open a new window on the browser platform The URL is not supposed to change in the case of SPA. --- src/browser/InAppBrowserProxy.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/browser/InAppBrowserProxy.js b/src/browser/InAppBrowserProxy.js index 33fbe47..29912c7 100644 --- a/src/browser/InAppBrowserProxy.js +++ b/src/browser/InAppBrowserProxy.js @@ -71,8 +71,10 @@ var IAB = { features = args[2], url; - if (target === "_system" || target === "_self" || !target) { + if (target === "_self" || !target) { window.location = strUrl; + } else if (target === "_system") { + window.CDV_origSymbols['window.open'].call(window, strUrl, "_blank"); } else { // "_blank" or anything else if (!browserWrap) {