diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-01-16 21:47:08 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-01-24 11:24:18 +0100 |
commit | cda811b6b49d2925fa044b5c391cea27a9da8724 (patch) | |
tree | 2021b9a476835da490667437669f24a76d763936 /apps/files/js/sidebarpreviewmanager.js | |
parent | 0224c61530c2942549c277dae4e7e54bf8ad2328 (diff) | |
download | nextcloud-server-cda811b6b49d2925fa044b5c391cea27a9da8724.tar.gz nextcloud-server-cda811b6b49d2925fa044b5c391cea27a9da8724.zip |
Make filelist and sidebar use the fileid preview endpoint
This makes sure the preview is cached even after rename! yay!
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files/js/sidebarpreviewmanager.js')
-rw-r--r-- | apps/files/js/sidebarpreviewmanager.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files/js/sidebarpreviewmanager.js b/apps/files/js/sidebarpreviewmanager.js index 2cf4248897a..27ccd4fc405 100644 --- a/apps/files/js/sidebarpreviewmanager.js +++ b/apps/files/js/sidebarpreviewmanager.js @@ -92,6 +92,7 @@ }; this._fileList.lazyLoadPreview({ + fileId: model.get('id'), path: model.getFullPath(), mime: model.get('mimetype'), etag: model.get('etag'), |