This could cause problems. On line 95 in the 3.0 stable version. Also in the dev version (line number might be slightly different).

                  success: function(response) {
                    console.log('here');
                    // Scroll to the top of the view. This will allow users
                    // to browse newly loaded content after e.g. clicking a pager
                    // link.
                    var offset = $(target).offset();
                    // We can't guarantee that the scrollable object should be
                    // the body, as the view could be embedded in something
                    // more complex such as a modal popup. Recurse up the DOM
                    // and scroll the first element that has a non-zero top.

Comments

icecreamyou’s picture

Status: Active » Fixed

Good catch. Committed fix to dev (6.x, 7.x)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

fixed minor typo