Fork me on GitHub
Current Releases are 2.1 stable (major release) and 2.0.18.11 (security patch for 2.0)
We've also rebooted our GitHub repo, docs, and more!

Embed and reload pages

edited February 2011 in Questions
When I view my embedded forum, click through to a thread then reload the page, it loses where i was and reverts back to the forum home page. Is there a way for it to remember which page it is on and return to it upon a refresh?
Tagged:

Comments

  • edited February 2011
    Managed to narrow it down to the following in remote.js:

    currentPath = window.location.hash.substr(1),
    disablePath = currentPath && currentPath[0] != "/";
    disablePath |= (window != top);
    if (!currentPath || disablePath)
    currentPath = "/";

    If i comment out:

    // if (!currentPath || disablePath)
    // currentPath = "/";

    It works. Unsure as to the logic here and why disablePath is needed.

    This was tested in chrome/osx and ff/ie on a pc.
Sign In or Register to comment.