New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dialog Close Button triggers error (typeError: g is undefined) #6968

Closed
g-barkin opened this Issue Jan 19, 2014 · 0 comments

Comments

Projects
None yet
2 participants
@g-barkin

g-barkin commented Jan 19, 2014

The dialog in my project has a close button (unless I specify data-close-btn='none'). I'm creating the dialog by adding data-dialog="true" on the page widget of the page, and calling the page from a standard link. This is the page div:

<div data-role="page"  data-theme="b" data-dialog="true" data-overlay-theme="b" data-close-btn="right">

I've tried "left" (same problem) and "none" (problem goes away...)
I don't know how to show this on jsBin or jsFiddle, but it's easy to see the problem on jquery mobile's own demo site:

http://demos.jquerymobile.com/1.4.0/pages-dialog/

open the js console and click the close button. In firefox it appears to relate to fakeFixLoader(). I've tried it in firefox and chrome (32). I'm using jqm 1.4.0 and jquery 1.10.1.

The dialog seems to close properly. But the error is discomforting...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment