You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2014/04/22 21:34:18 UTC

[jira] [Resolved] (CB-5488) deviceready event not firing with jQuery Mobile

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

Andrew Grieve resolved CB-5488.
-------------------------------

    Resolution: Fixed
      Assignee: Andrew Grieve

Fix will be in 3.5.0

Projects should be able to hot-patch their cordova.js code until this makes it into a release (patch is linked by previous comment). For CLI-based projects, patch the file at platforms/ios/platform_www/cordova.js

Problem I saw was that the statusbar plugin was using exec() on start-up, and document.body didn't exist yet. 

> deviceready event not firing with jQuery Mobile
> -----------------------------------------------
>
>                 Key: CB-5488
>                 URL: https://issues.apache.org/jira/browse/CB-5488
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaJS, iOS
>    Affects Versions: 3.1.0
>            Reporter: Federico Kereki
>            Assignee: Andrew Grieve
>
> If you use PhoneGap + jQuery + jQuery Mobile, the deviceready event doesn't fire. Googling around, I found several similar reports, all pointing out that if jQuery Mobile isn't included, the event fires.



--
This message was sent by Atlassian JIRA
(v6.2#6252)