Webadmin: back button broken on initial data browser load #134

Closed
lassewesth opened this Issue Nov 12, 2012 · 2 comments

Comments

Projects
None yet
2 participants
@lassewesth
Owner

lassewesth commented Nov 12, 2012

@aseemk: 'Go to the web admin, click the Data Browser, then try clicking the browser's Back button to go back to the dashboard. At least in Chrome on Mac, it doesn't work.

Some quick debugging: it appears that the Data Browser link is to #/data/, but on load, the Data Browser immediately updates the URL to #/data/search/0. Clicking back then goes back to #/data/, which immediately updates the URL again to #/data/search/0, etc.

I'm guessing the URL is updated with location.hash = … or location.href = … -- that creates a new entry in the browser history. In this case, it'd be better to use location.replace(…) instead; that would replace the entry for #/data/ instead of maintaining it.

Hope this helps!'

@lassewesth

This comment has been minimized.

Show comment Hide comment
@lassewesth

lassewesth Nov 12, 2012

Owner

values:

Owner

lassewesth commented Nov 12, 2012


values:

@jakewins

This comment has been minimized.

Show comment Hide comment
@jakewins

jakewins Oct 23, 2013

Contributor

Resolved in new Neo4j Browser.

Contributor

jakewins commented Oct 23, 2013

Resolved in new Neo4j Browser.

@jakewins jakewins closed this Oct 23, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment