Merge pull request #12231 from nextcloud/bugfix/10934/setmodel_before_render

Set the filemodel before rending the detailsview
This commit is contained in:
Roeland Jago Douma 2018-11-05 08:07:49 +01:00 committed by GitHub
commit 4be625b128
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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