diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-11-02 10:30:30 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-11-02 10:31:06 +0100 |
commit | a378dc5a7b21514242647a62f60bada4106acc4f (patch) | |
tree | bfe446f9f6478944b43e875833e5179453579458 /apps/files_trashbin/js | |
parent | 2afc14e19578c67a2cc4a631d12bc5d5f630735e (diff) | |
download | nextcloud-server-a378dc5a7b21514242647a62f60bada4106acc4f.tar.gz nextcloud-server-a378dc5a7b21514242647a62f60bada4106acc4f.zip |
Fix scrollto= parameter in trashbin view
Diffstat (limited to 'apps/files_trashbin/js')
-rw-r--r-- | apps/files_trashbin/js/app.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files_trashbin/js/app.js b/apps/files_trashbin/js/app.js index 364b51697bd..1f46f568bf2 100644 --- a/apps/files_trashbin/js/app.js +++ b/apps/files_trashbin/js/app.js @@ -23,11 +23,13 @@ OCA.Trashbin.App = { return; } this._initialized = true; + var urlParams = OC.Util.History.parseUrlQuery(); this.fileList = new OCA.Trashbin.FileList( $('#app-content-trashbin'), { scrollContainer: $('#app-content'), fileActions: this._createFileActions(), - detailsViewEnabled: false + detailsViewEnabled: false, + scrollTo: urlParams.scrollto } ); }, |