jquery/jquery-mobile — Issue #2724: Dialog closed causing entired app exit with Phonegap.
Author: kungpao
Created: 2011-10-17 11:03:23+00:00
State: open

I make a single page with 3 page-div.
A button-click in first page-div calls a dialog popup with page-div-3 in it.
Absolute simple html. only p-tag text.

Everything test good on all desktop browser. Poping and closing.

I then build this page with Phonegap in Eclipse and launch in Android Emulator.
Problem:
Button clicked, dialog shows up. closing dialog, it is closed, and myy 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 suppose to. My app did not quit as long as I don't have phonegap-1.1.0.js loaded.

I have test most of the other UI, all seems behave out of box except dialog. Please help.

Thanks in advance.