Ajax success callback bug on iPhone when the application is offline #926
Comments
Hmm... should html ever be undefined in the success callback? Do you think this is more of a jQuery Core issue? |
Thanks for your response! The html will always be undefined in the success callback if the browser state is offline, supports manifest file and loads from cache. Especially in the case of mobile devices. Yes, it seems to be a jQuery Core issue, but I'm afraid that they will never deal with this problem (or at least not as soon as we need a solution). If you could fix this issue, jQueryMobile would be able to run on an offline html5 supported (mobile) device. |
Sorry, I accidentally closed this issue and I can't reopen it. Please someone... |
reopened |
Hi, |
Hi, would the above patch included in the next release? Thanks |
Hi all - is this still an issue with the latest build? Thinking this is resolved. |
For me it works. |
Yeah, ok. Thanks @jcorporation. I'm going to close as fixed, but we're happy to re-open if someone posts a test page showing that we still need to look at this. |
We create a manifest file for an offline application and it works on desktop browsers.
But, when we were tested on iPhone 3GS, the ajax callback doesn't returned the data from server.
ChangePage function causes the problem, please change the following lines:
https://github.com/jquery/jquery-mobile/blob/master/js/jquery.mobile.navigation.js#L483
to
The text was updated successfully, but these errors were encountered: