diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-09-16 00:12:25 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-09-16 00:12:25 +0200 |
commit | d1f7087b6cf1f6c706f3a4f66cb0aa91bd5c28c1 (patch) | |
tree | 1aef71cd520f291a68116b8c4e8abfb4971567dd /apps/files/js/filelist.js | |
parent | f6f7d8cf94f74ead433714a5170e1984886617a8 (diff) | |
parent | accebae356eeea4f71cde8fe1300bf9790533465 (diff) | |
download | nextcloud-server-d1f7087b6cf1f6c706f3a4f66cb0aa91bd5c28c1.tar.gz nextcloud-server-d1f7087b6cf1f6c706f3a4f66cb0aa91bd5c28c1.zip |
Merge pull request #18979 from owncloud/sidebare-preview-fixes
Sidebare preview fixes
Diffstat (limited to 'apps/files/js/filelist.js')
-rw-r--r-- | apps/files/js/filelist.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 3e12573c046..194c658e3a1 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -346,7 +346,7 @@ // and contain existing models that can be used. // This method would in the future simply retrieve the matching model from the collection. var model = new OCA.Files.FileInfoModel(this.elementToFile($tr)); - if (!model.has('path')) { + if (!model.get('path')) { model.set('path', this.getCurrentDirectory(), {silent: true}); } |