David Powell created CB-9357:
--------------------------------

             Summary: 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: Windows 8
    Affects Versions: 5.0.1
         Environment: Cordova 5.0, Windows 8 Surface 3 Pro, AngularJS v1.3.15
            Reporter: David Powell
            Assignee: Jesse MacFadyen


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
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to