Merge pull request #20219 from owncloud/issue-19707-scrollto-in-trashibn
Fix scrollto= parameter in trashbin view
This commit is contained in:
commit
c5caebbd1f
|
@ -23,11 +23,13 @@ OCA.Trashbin.App = {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this._initialized = true;
|
this._initialized = true;
|
||||||
|
var urlParams = OC.Util.History.parseUrlQuery();
|
||||||
this.fileList = new OCA.Trashbin.FileList(
|
this.fileList = new OCA.Trashbin.FileList(
|
||||||
$('#app-content-trashbin'), {
|
$('#app-content-trashbin'), {
|
||||||
scrollContainer: $('#app-content'),
|
scrollContainer: $('#app-content'),
|
||||||
fileActions: this._createFileActions(),
|
fileActions: this._createFileActions(),
|
||||||
detailsViewEnabled: false
|
detailsViewEnabled: false,
|
||||||
|
scrollTo: urlParams.scrollto
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue