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

Jacob Weber commented on CB-5712:
---------------------------------

Just spent the day debugging this same issue. :(  Anyway, the dev version of 
CordovaLib fixed the problem for me too.

> 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
>            Assignee: Andrew Grieve
>
> 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