Fix scrollto= parameter in trashbin view

This commit is contained in:
Joas Schilling 2015-11-02 10:30:30 +01:00
parent 2afc14e195
commit a378dc5a7b
1 changed files with 3 additions and 1 deletions

View File

@ -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
}
);
},