Closed tdamsma closed 10 years ago
And what? Please learn Ajax technology and understand why 'back' not work in Ajax.
I have a fix for this. It's not difficult.
On Tuesday, August 12, 2014, devoopsme notifications@github.com wrote:
And what? Please learn Ajax technology and understand why 'back' not work in Ajax.
— Reply to this email directly or view it on GitHub https://github.com/devoopsme/devoops/issues/16#issuecomment-51909425.
Sent from my iDroidberry
No need to be so blunt. This is something that can be fixed.
http://en.wikipedia.org/wiki/Single-page_application#Browser_history
Just trying to help. I'll submit a pull request later
On Tuesday, August 12, 2014, Thijs Damsma notifications@github.com wrote:
No need to be so blunt. This is something that can be fixed.
— Reply to this email directly or view it on GitHub https://github.com/devoopsme/devoops/issues/16#issuecomment-51914348.
Sent from my iDroidberry
jblossomweb, any success providing your fix?
Here's a very simply way to fix it. A more robust solution would keep an actual history in memory and navigate that...
$(window).on ("hashchange", function (e) { var url = window.location.hash.substring (1); LoadAjaxContent (url); });
First of all, thank you for the wonderful devoops theme!
I noticed an issue that the browser back button doesn't work as expected when navigating the devoops dashboard. After pressing back, the url is updated as expected e.g.:http://devoops.me/themes/devoops/#ajax/ui_grid.html ==> http://devoops.me/themes/devoops/#ajax/dashboard.html but the page contents is not updated.
Tested on latest ie, chrome and firefox