Fix path for fileinfomodel in subdirectories
This commit is contained in:
parent
1c792b9f43
commit
19e1d35373
|
@ -327,7 +327,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});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue