[jbosstools-issues] [JBoss JIRA] (JBIDE-15895) Cordova API not working when added widget from jQuery Mobile palette

Gorkem Ercan (JIRA) jira-events at lists.jboss.org
Wed Nov 13 14:18:06 EST 2013


     [ https://issues.jboss.org/browse/JBIDE-15895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gorkem Ercan updated JBIDE-15895:
---------------------------------

    Fix Version/s: 4.2.x
                       (was: 4.1.1.CR1)

    
> Cordova API not working when added widget from jQuery Mobile palette
> --------------------------------------------------------------------
>
>                 Key: JBIDE-15895
>                 URL: https://issues.jboss.org/browse/JBIDE-15895
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: aerogear-hybrid, browsersim, upstream
>    Affects Versions: 4.1.1.Beta1
>         Environment: JBDS7.1.0.Beta1b Beta1-v20131102-1529-B493
>            Reporter: Vlado Pakan
>             Fix For: 4.2.x
>
>
> 1. Create Mobile Hybrid Project
> 2. Add Accelerometer testing page as described on phonegap wep page
> 3. Run Project on CordovaSim and/or Emulator and/or Android device
> 4. Open Acceleromer page
> ASSERT: App is displaying data from Accelerometer
> 5. Open index.html page add some widget from jQuery Mobile pallete and save
> 6. Repeat step 3. and 4.
> ERROR: App is not displaying data from Accelerometer. Event DeviceReady is not fired
> When adding widget from jQuery Mobile pallete also this reference to jQuery Mobile java script file is added
> {noformat}
> <script src="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js"></script>
> {noformat}
> and it seems is somehow breaking Cordova API functionality. Once removed from index.html application is displaying data from Acceleromer again

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list