incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryce Curtis (Assigned) (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CB-327) Only initialized JS when an HTML page is loaded the first time.
Date Wed, 14 Mar 2012 13:52:39 GMT

     [ https://issues.apache.org/jira/browse/CB-327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Bryce Curtis reassigned CB-327:
-------------------------------

    Assignee: Bryce Curtis  (was: Filip Maj)

I have a fix for this.
                
> Only initialized JS when an HTML page is loaded the first time.
> ---------------------------------------------------------------
>
>                 Key: CB-327
>                 URL: https://issues.apache.org/jira/browse/CB-327
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: CordovaJS
>    Affects Versions: 1.5.0
>         Environment: Android 4.0.3 + jQMobile 1.0.1 + jQuery 1.7.1
>            Reporter: Bryce Curtis
>            Assignee: Bryce Curtis
>             Fix For: 1.6.0
>
>
> When jQMobile loads new pages into a div, DOMContentLoaded is fired.  This causes JS
code to be re-initialized, wiping out the current state including the backbutton handler.
 As a result, backbutton doesn't work anymore.   To resolve, JS code should only be initialized
if not already done.

--
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