summaryrefslogtreecommitdiffstats
path: root/apps/files/js/files.js
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2013-09-19 17:00:54 +0200
committerJörn Friedrich Dreyer <jfd@butonic.de>2013-09-19 17:00:54 +0200
commit7e0631b3b81a5669620122964d0326ead187de30 (patch)
tree9370b9d5ac99f148d2bc724f76c805b772af7d2d /apps/files/js/files.js
parent98ff8478301676c99ffefd5756ad22466dfb6acf (diff)
parentbd5cb1d801a16933b7b75af5c514caec2afa5fef (diff)
downloadnextcloud-server-7e0631b3b81a5669620122964d0326ead187de30.tar.gz
nextcloud-server-7e0631b3b81a5669620122964d0326ead187de30.zip
Merge branch 'master' into fix_3728_with_file_exists_dialog
Conflicts: apps/files/js/filelist.js
Diffstat (limited to 'apps/files/js/files.js')
-rw-r--r--apps/files/js/files.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js
index 5ec65d87457..8ccb448abfb 100644
--- a/apps/files/js/files.js
+++ b/apps/files/js/files.js
@@ -358,6 +358,11 @@ $(document).ready(function() {
}
});
}
+
+ //scroll to and highlight preselected file
+ if (getURLParameter('scrollto')) {
+ FileList.scrollTo(getURLParameter('scrollto'));
+ }
});
function scanFiles(force, dir, users){