minddust / jquery-pjaxr

Pushstate aJAX eXtended Replacements
www.minddust.com/project/jquery-pjaxr
MIT License
70 stars 8 forks source link

Fallback pjaxr request to site without pjaxr. #16

Closed iekadou closed 10 years ago

iekadou commented 10 years ago

We need a fallback for pjaxr, to recognize when it requested a non-pjaxr site in the same domainspace, even if this site has no pjaxr too.

It would be nice to inject a function into the state before pjaxr decided to change Location with locationReplace. This function checks if pjaxr is currently enabled and then intially requests (without pjaxr) the site.

Another solution would be a Fallbackscript delivered by the Server at every request.

minddust commented 10 years ago

Got it. setting up a new (hopefully complete) testsuite. help is always welcome ;)

iekadou commented 10 years ago

Seems to be a chrome caching bug, will be fixing after fix of #17

iekadou commented 10 years ago

Got another bug when sending a form or a non-pjaxr registered link to a error page.