Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Embed and reload pages

edited February 2011 in Vanilla 2.0 - 2.8
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.