Merge pull request #20219 from owncloud/issue-19707-scrollto-in-trashibn

Fix scrollto= parameter in trashbin view
This commit is contained in:
Thomas Müller 2015-11-02 11:27:49 +01:00
commit c5caebbd1f
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
}
);
},