Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

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

Closed
@g-barkin

Description

@g-barkin

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...

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions