summaryrefslogtreecommitdiffstats
path: root/apps/files/js/filelist.js
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-09-16 00:12:25 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-09-16 00:12:25 +0200
commitd1f7087b6cf1f6c706f3a4f66cb0aa91bd5c28c1 (patch)
tree1aef71cd520f291a68116b8c4e8abfb4971567dd /apps/files/js/filelist.js
parentf6f7d8cf94f74ead433714a5170e1984886617a8 (diff)
parentaccebae356eeea4f71cde8fe1300bf9790533465 (diff)
downloadnextcloud-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.js2
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});
}