Merge pull request #12301 from nextcloud/backport/12231/stable14

[14] Set the filemodel before rending the detailsview
This commit is contained in:
Roeland Jago Douma 2018-11-06 09:59:48 +01:00 committed by GitHub
commit 524a344d25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -568,8 +568,8 @@
} }
this._currentFileModel = model; this._currentFileModel = model;
this._detailsView.render();
this._detailsView.setFileInfo(model); this._detailsView.setFileInfo(model);
this._detailsView.render();
this._detailsView.$el.scrollTop(0); this._detailsView.$el.scrollTop(0);
}, },