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.
better management of $.mobile.loadPage.defaults and how they appear on requests and subsequently in the hash display url and data-url attributes #1918
Closed
Description
For my app I want to know server side whether a page was requested with ajax or non-ajax so I make a default param $.mobile.loadPage.defaults.data={ajaxpage : true}; This is causing a few issues
- You have to manage it's appearance on the query string. In some cases this param may show up on the query string twice which can cause some server side logic to choke and looks sloppy.
- You might not want this information to show in the hash portion of the display url as it has nothing to do with the content of the page.
- You might not want this information to be stuffed in the page data-url attribute as it has nothing to do with the content of the page, only the way it was requested.
In sum, It would be nice if jquery mobile was able to better manage $.mobile.loadPage.defaults and how they appear on requests and subsequently in the hash display url and data-url attributes.
Metadata
Metadata
Assignees
Labels
No labels