Skip to content

Popup markup contains `data-container="[object Object]"` #4967

Closed
DzenisevichK opened this Issue Sep 10, 2012 · 1 comment

3 participants

@DzenisevichK

Open any popup (for example, click on "Open Popup" in http://jquerymobile.com/test/docs/pages/popup/index.html page)

and then via Inspector you may see that opened popup contains data-container="[object Object]" markup...

Windows 7 SP1 x64 + Chrome 21.0.1180.89 m

@johnbender

@gabrielschulhof

https://github.com/jquery/jquery-mobile/blob/master/js/widgets/popup.js#L327

Is there a use case this covers? We don't apply these options as data attributes anywhere but in button markup and I believe that was a special case.

That is, I think we can avoid doing this unless it fulfills some important purpose.

@arschmitz arschmitz added a commit to arschmitz/jquery-mobile that referenced this issue Oct 16, 2012
@johnbender johnbender exclude internal attributes from dom element, temp fix Fixes #4967 9766a5a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.