[ 
https://issues.apache.org/jira/browse/CB-5712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13858889#comment-13858889
 ] 

Andrew Grieve commented on CB-5712:
-----------------------------------

This might have just been fixed by 
https://issues.apache.org/jira/browse/CB-4330. Would be great if you could 
verify for me by clobbering your CordovaLib directory with the one from master 
here: https://github.com/apache/cordova-ios/tree/master/CordovaLib

> embedded iframe load causes all subsequent cdv commands to be ignored
> ---------------------------------------------------------------------
>
>                 Key: CB-5712
>                 URL: https://issues.apache.org/jira/browse/CB-5712
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 3.3.0
>         Environment: iOS 7
>            Reporter: James Salter
>
> Hi, just upgrading our project to cordova 3.3.0 and encountered a problem 
> with Cordova's command queue behaviour when an embedded iframe loads in the 
> page. 
> When the frame loads loads UIWebView fires webViewDidStartLoad (in a way 
> indeterminable from the main frame loading), which cdv incorrectly interprets 
> as a full page reload. it does this -
> {code:title=CDVViewController}
>     NSLog(@"Resetting plugins due to page load.");
>     [_commandQueue resetRequestId];
> {code}
> After that all new commands to the command queue are ignored until cordova is 
> reloaded because of the changeset in 
> https://issues.apache.org/jira/browse/CB-5037
> I would really rather not have to reload cordova.js in my main frame just 
> because I loaded up an embedded iframe (I think this is the only workaround 
> without hacking the cdv source)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to