Ricardo Rufino created CB-11983:
-----------------------------------

             Summary: The back button hides the window but does not destroy
                 Key: CB-11983
                 URL: https://issues.apache.org/jira/browse/CB-11983
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin InAppBrowser
    Affects Versions: 1.5.0
         Environment: Android
            Reporter: Ricardo Rufino
            Priority: Trivial


The back button "close"  the window but do not destroy ! See atached image.

I have a local index that opens external pages. When I click back and click on 
other links, the windows accumulate, appearing "about: blank".

I tried to implement the code to reuse the same window, but still does not work.

{code}

if(w_ref == null)
    w_ref = cordova.InAppBrowser.open( url, '_blank', 'location=no'); // _self
else {
    w_ref.executeScript({
        code: "window.location = '"+url+"';"
    }, function () {
        w_ref.show();
    });
}
{/code}



--
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