This repository has been archived by the owner on Oct 8, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Adding multiple pages in one ajax request does not display requested page #549
Labels
Comments
Here's the patch
|
This is on our radar but probably won't get in for 1.0. |
A couple things:
It's possible, but we haven't gotten around to writing it yet. Any takers? |
This feature is vital to a project I'm working on right now so I will try to refactor it in to the new build. I have the pages already loaded into the dom I just need to assign the data-url attribute and make sure the links work. |
This is a good idea but closing and moving to the feature requests page for post-1.0: |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have the following use case: load a page with links to subpages and those subpages in one Ajax request to limit the number of HTTP requests and to increase the responsiveness of the application. So instead of 1+20 = 21 requests I just use one request with one large response.
1.0a2 however will then display the last <div data-role="page"> rather than the page I requested. A requirement is that all pages have a correct id which matches their fileUrl.
I have a patch against 1.0a2 which solves the issue for me by distinguishing between an Ajax response with one and multiple data-role="page" pages and transitioning to the correct page.
How do I attach a patch to this issue?
The text was updated successfully, but these errors were encountered: