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

Dialog Link inside Nested Listview causes error (a4.1) #1512

Closed
@Sacrelicious

Description

@Sacrelicious

If you have a link you wish to display as a dialog inside a nested list, like so:

<div data-role="content">
    <ul data-role="listview" id="categories">
        <li id="category1">
             <ul id="subcategory1">
                 <li><a href="product1.html" data-rel="dialog">Product Info</a></li>
             </ul>
        </li>
    </ul>
</div>

clicking the link will result in the error: 'to.data("page") is undefined' on line 2371 in 1.0 Alpha 4.1.
Removing 'data-rel="dialog"' removes the problem, as does having the link in a non-nested listview.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions