You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Jan Piotrowski (Sujan) (JIRA)" <ji...@apache.org> on 2018/01/22 21:56:00 UTC
[jira] [Closed] (CB-9357) InAppBrowser with AngularJS routing wipes
out script on load
[ https://issues.apache.org/jira/browse/CB-9357?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Piotrowski (Sujan) closed CB-9357.
--------------------------------------
Resolution: Won't Fix
> InAppBrowser with AngularJS routing wipes out script on load
> ------------------------------------------------------------
>
> Key: CB-9357
> URL: https://issues.apache.org/jira/browse/CB-9357
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-windows
> Affects Versions: 5.0.1
> Environment: Cordova 5.0, Windows 8 Surface 3 Pro, AngularJS v1.3.15
> Reporter: David Powell
> Priority: Major
> Labels: newbie
>
> I have a base index.html to act as a frame and I load content into an ng-view area using routes.
> After I install and run InAppBrowser and load my app the screen is turned white and I can see that the html on the page is wiped out. I do see the content load for a split second though.
> I've attempted to run
> document.addEventListener("deviceready", onDeviceReady, false);
> function onDeviceReady() {
> console.log("window.open works well");
> delete window.open;
> }
> before any of my scripts run but it has no affect.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org