phonegap/phonegap-android — Issue #270: Phonegap cause app exit when JQuery Mobile Dialog close.
Author: kungpao
Created: 2011-10-17 13:14:47+00:00
State: open

I make a single page with 3 page-div with JQuery Mobile.
A button-click in first page-div calls a dialog popup with page-div-3 in it.
Absolute simple html page.

Everything test good on all desktop browsers. Poping and closing are working fine with the dialog popup.

I then build this page with Phonegap in Eclipse and launch this app in Android Emulator.
Problem:
Button clicked, dialog shows up. closing dialog, it is closed, and my app quits/exits completely.
That is not good. Closing a dialog on a page causing the app to exit complete.

I go back to Eclipse, comment out the entire script tag for phonegap-1.1.0.js.

Dialog behaves as designed, pop up and close normally without exit my app. My app did not quit as long as I don't have phonegap-1.1.0.js loaded.