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

Listview: Added ability to turn off nested lists automatic sub paging.#497

Closed
mcockrell wants to merge 4 commits intojquery-archive:masterfrom
mcockrell:master
Closed

Listview: Added ability to turn off nested lists automatic sub paging.#497
mcockrell wants to merge 4 commits intojquery-archive:masterfrom
mcockrell:master

Conversation

@mcockrell
Copy link

UPDATE: This pull req also includes fixes to the makefile, to change the references to jquery.mobile.js => jquery.mobile.core.js -- there were some references left unchanged and make would fail. I wasn't sure how to put that as a diff pull request without creating a seperate fork (since im newish to git/github). But this includes both my addition and the makefile change.

I've modified the listview plugin to allow for a new data property on the listview element.

If a user sets data-sublists="false" on the UL (listview) element, any sub UL inside the LI elements will no longer automatically create a link to a sub page with the sub list elements. Instead the list will render as expected inside the LI element it is contained in.

data-sublists defaults to true so the original concept is preserved.

@mcockrell
Copy link
Author

This pull also includes makefile fixes for the new jquery.mobile.core.js change

@mcockrell
Copy link
Author

have another way to incorporate this, plus this pull req is messy. may be putting a diff pull req in.

This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant