incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Bowser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-265) IFrame loaded from jQuery in the navigation history
Date Thu, 10 May 2012 18:38:53 GMT

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

Joe Bowser commented on CB-265:
-------------------------------

Do you have an example app that I can quickly test? I believe that I fixed this with making
the history configurable.
                
> IFrame loaded from jQuery in the navigation history
> ---------------------------------------------------
>
>                 Key: CB-265
>                 URL: https://issues.apache.org/jira/browse/CB-265
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 1.3.0
>         Environment: The wrong behavior was observed on an Asus Transformer TF101 tablet,
with Android 3.2.1.
> The behavior could not be reproduced on a Samsung Galaxy S (GT-I9000), with Android 2.3.4.
>            Reporter: Adrián Chaves Fernández
>            Assignee: Joe Bowser
>              Labels: android, history, iframe, jquery
>             Fix For: 1.8.0
>
>
> Using jQuery Mobile, an application with two pages. On the second page there is an IFrame
element with no source (src=""). jQuery Mobile's OnPageBeforeShow event is used to set the
src property to a website (tested with OSM and example.com) like this:
> jQuery('#IFrame').attr('src', 'http://example.com');
> The page is successfully loaded inside the iframe.
> When you go back then, either with the Back button of the Android device or with the
navigator.app.backHistory() method, the content of the IFrame dissapears. If you hit Back
again (any of the methods also), then it works as expected.
> Seems the load of the iframe is counted as a third page on the application.
> The thing is, on the mobile device I used it works as expected (as I expect at least),
hitting back takes you to the previous page directly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message