[
https://issues.apache.org/jira/browse/CB-11983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ricardo Rufino updated CB-11983:
--------------------------------
Attachment: Selection_674.png
> 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
> Attachments: Selection_674.png
>
>
> 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}
> Why this is needed (load about:blank) ?
> https://github.com/apache/cordova-plugin-inappbrowser/blob/master/src/android/InAppBrowser.java#L418
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]