[
https://issues.apache.org/jira/browse/CB-2102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13543412#comment-13543412
]
Shazron Abdullah commented on CB-2102:
--------------------------------------
I cannot get past the xhr call disappearing into the ether -- seems an iOS 6
JavaScript bug?, technically the workaround should fix this problem.
Your only recourse is to use the iframe bridge, put it in your
$(document).ready:
{code}
var exec = cordova.require('cordova/exec');
exec.setJsToNativeBridgeMode(exec.jsToNativeModes.IFRAME_NAV);
{code}
> InAppBrowser will not open PDFs on different pages
> --------------------------------------------------
>
> Key: CB-2102
> URL: https://issues.apache.org/jira/browse/CB-2102
> Project: Apache Cordova
> Issue Type: Bug
> Components: CordovaJS, iOS
> Affects Versions: 2.3.0
> Environment: OSX Mountain Lion, xCode 4.5.2, happens on iPad
> simulator 5.0, 5.1, 6.0.
> Reporter: Chad Crowell
> Assignee: Shazron Abdullah
> Priority: Minor
> Labels: InAppBrowser
> Fix For: 2.3.0
>
>
> WWW folder is here: https://dl.dropbox.com/u/119908/www.zip
> The folder structure here is setup exactly like the much more elaborate
> website we are wrapping in Cordova as an "offline website browser" app for my
> client. This stripped down version exhibits the same problematic behavior.
> Whichever page you view first, the PDFs on that page open in IAB just fine.
> Click over to the other page and the PDFs there don't open in IAB. Doesn't
> matter which page you go to first, the other page always doesn't work.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira