Closed JohannesRudolph closed 11 years ago
Looking further into it, it seems its not solely an issue with $waitDialog but with $.mobile.loading. it seems jqms loaderWidget.loader is not initialized at the time the angular module controller definition is executed. jqm would initialize it on the pagecontainercreate event as far as I see... Seems we need to hook the adapter somewhere later into the pipeline.
Hi, thanks for reporting! This only applies when you show the waitDialog in the constructor of your controller. Using the wait dialog in a click event does work: http://plnkr.co/edit/f6Yh6f
Still, I will also look into this...
Tobias
Hi Tobias, I noticed the same thing. I think it also only happens in controllers loaded on the first page. Probably jqm has not finished initializing by then or something...
On Fri, Nov 16, 2012 at 11:54 AM, Tobias Bosch notifications@github.comwrote:
Hi, thanks for reporting! This only applies when you show the waitDialog in the constructor of your controller. Using the wait dialog in a click event does work: http://plnkr.co/edit/f6Yh6f
Still, I will also look into this...
Tobias
— Reply to this email directly or view it on GitHubhttps://github.com/tigbro/jquery-mobile-angular-adapter/issues/69#issuecomment-10443485.
Hi, your initial jsfiddle works now and correctly shows the waitDialog.
Thanks for reporting, Tobias
Calling $waitDialog is broken in 1.1.2 Snapshost. The following JSFiddle reproduces the issue:
http://jsfiddle.net/cmPAv/