Merge pull request #7064 from owncloud/files-scrolltopafterupdate

Scroll to the top after switching dir
This commit is contained in:
Jan-Christoph Borchardt 2014-02-05 16:13:55 +01:00
commit b0692af29a
1 changed files with 5 additions and 4 deletions

View File

@ -41,6 +41,7 @@ window.FileList={
FileList.updateFileSummary(); FileList.updateFileSummary();
procesSelection(); procesSelection();
$(window).scrollTop(0);
$fileList.trigger(jQuery.Event("updated")); $fileList.trigger(jQuery.Event("updated"));
}, },
createRow:function(type, name, iconurl, linktarget, size, lastModified, permissions) { createRow:function(type, name, iconurl, linktarget, size, lastModified, permissions) {