Dialog with a changePage call
I have a search button on my pages that the user can click anytime. I POP a model dialog box collecting their search parms. When the click the search button on the dialog, my function calls
$('.ui-dialog').dialog('close');
$.mobile.changePage( "#search-page", "pop" );
this code works correctly but the screens transitions are strange, First the dialog box is removed and the original page is shown, then the POP of the search-page is shown. If I remove the dialog(close) call, the transaction is very smooth where only the search page is shown next, but I have to click the BACK button twice from the search page to get back to the original page.
Any way to get the smooth transition without the double back button press?
Thanks
Andy