Merge pull request #7064 from owncloud/files-scrolltopafterupdate
Scroll to the top after switching dir
This commit is contained in:
commit
b0692af29a
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue