Fork me on GitHub
Current releases are 2.1.1 (2 Aug 2014) and 2.0.18.13 (5 Aug 2014)
Ready for 2.1? Find out if your favorite plugins are compatible.
The 2.0 branch will no longer receive updates after Dec 2014.

Embed and reload pages

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