Scroll to the top after switching dir

Fixes #7061
This commit is contained in:
Vincent Petry 2014-02-04 11:14:00 +01:00
parent 49f0f9f2f6
commit fe2a63ffd4
1 changed files with 6 additions and 5 deletions

View File

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