Skip to content

Commit

Permalink
Merge pull request #12231 from nextcloud/bugfix/10934/setmodel_before…
Browse files Browse the repository at this point in the history
…_render

Set the filemodel before rending the detailsview
  • Loading branch information
rullzer authored Nov 5, 2018
2 parents c28ea52 + b1fd72c commit 4be625b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files/js/filelist.js
Original file line number Diff line number Diff line change
Expand Up @@ -576,8 +576,8 @@
}

this._currentFileModel = model;
this._detailsView.render();
this._detailsView.setFileInfo(model);
this._detailsView.render();
this._detailsView.$el.scrollTop(0);
},

Expand Down

0 comments on commit 4be625b

Please sign in to comment.