From a378dc5a7b21514242647a62f60bada4106acc4f Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 2 Nov 2015 10:30:30 +0100 Subject: [PATCH] Fix scrollto= parameter in trashbin view --- apps/files_trashbin/js/app.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/files_trashbin/js/app.js b/apps/files_trashbin/js/app.js index 364b51697b..1f46f568bf 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 } ); },