Return false in toggle function on error pages #9313

Merged
merged 1 commit into from Feb 17, 2013

Projects

None yet

2 participants

Contributor
bkzl commented Feb 17, 2013

When you click on "Toggle env dump", "Toggle session dump" or "Toggle blamed files" on the error page anchor to '#' is invoked and page scrolls to the top.

I fixed this annoying thing by returning false from the toggle function.

@guilleiguaran guilleiguaran merged commit b04c81d into rails:master Feb 17, 2013
@bkzl bkzl deleted the bkzl:return-false-on-toggle-on-error-pages branch Feb 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment