Using history.pushState() & history.replaceState() methods with ajaxEnabled: false

Using history.pushState() & history.replaceState() methods with ajaxEnabled: false

Hello,

I have ajaxEnable: false (IT architect decision) but one part of my app uses ajax to load the pages because we're using a web service for this one feature. When I hit the browser back button after navigating within the ajax section, it takes me to the previous fully loaded page and not the ajax loaded page I was last on. Make sense? I've implemented data-ajax="true" on all my links within the ajax section, but it doesn't seem to be working.

I'm using the basic header, footer and content div that the new page is loaded into via ajax. The desired experience is to have the user go back to the last ajax navigated page and not the last page they were on before entering the ajax section. 

I can provide code and a prototype if anyone cares to take a look.

Thanx.