Fork me on GitHub

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

In this Discussion

Ready to contribute?

Amazing! Sign our contributors' agreement and then join us on GitHub.

Current release is 2.1.6 (21 Nov 2014).

Users who have not yet upgraded to 2.1 should get security release 2.0.18.14 (1 Nov 2014). We will stop providing these security releases to 2.0 at the end of this year.

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.