incubator-callback-dev mailing list archives

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