summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/js
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-11-02 10:30:30 +0100
committerJoas Schilling <nickvergessen@owncloud.com>2015-11-02 10:31:06 +0100
commita378dc5a7b21514242647a62f60bada4106acc4f (patch)
treebfe446f9f6478944b43e875833e5179453579458 /apps/files_trashbin/js
parent2afc14e19578c67a2cc4a631d12bc5d5f630735e (diff)
downloadnextcloud-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.js4
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
}
);
},