aiwilliams/bbjqm — Issue #1: Query/Search params when using appcache may cause page load error
Author: aiwilliams
Created: 2011-12-15 16:14:25+00:00
State: open

I have been trying to have /single/index.html link to /single/welcome.html three times:

1. without query parameters
2. with ?v=1
3. with ?v=2

When I click 1 or 2, the page loads from the app cache just fine. However, when I click on 3, jQuery gets back an AJAX response that has blank content and a status of ```0``` - a combination which is interpreted as being a 404 error, leading jQuery Mobile to show a page load error.

Relevant lines of code where I'm trying to solve this:

* https://github.com/aiwilliams/bbjqm/blob/772d705d7d62d5533d82fef4feda712516eb226e/app/mobileinit.coffee#L1
* https://github.com/aiwilliams/bbjqm/blob/772d705d7d62d5533d82fef4feda712516eb226e/app/mobileinit.coffee#L22