Hi,
I am trying to wrap my head around this issue with ajax calls in combination with history.js.
I have this app that seems to work quite well in every browser except chrome.
I have a form that submits through ajax and gets a new form in return. This works well.
My routes show:
POST /process [ajax]=AjaxController->process
GET|POST /start=PageController->start
The in-form back-button executes
onclick='javascript:History.back();e.preventDefault();'
The browser's back button shows the same functionality.
This works in every browser except chrome.
All browsers go back to the previous form items fine, except for chrome: it seems to do an actual non-ajax POST (if defined in the html form method) or GET request (otherwise) to the initial start page (start?postparam1=val&postparam2=val) which runs through my pagecontroller.
The funny thing is that sometimes it does work in chrome, but most of the time it doesn't.
I have no idea how to fix this or why this is happening.
If I run the relevant code in plain php it seems to work in chrome, so I am assuming it is a routing issue in f3?