mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 18:21:40 -04:00
Set the filemodel before rending the detailsview
fixes #10934 Else it triggers the rendering two times. Resulting is weird state in for example the comments. Because the comments for OLD_FILEID are retrieved but then the model is changed to NEW_FILEID. But the old comments still get in and get parsed. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
288991a610
commit
2d153adb64
1 changed files with 1 additions and 1 deletions
|
|
@ -568,8 +568,8 @@
|
|||
}
|
||||
|
||||
this._currentFileModel = model;
|
||||
this._detailsView.render();
|
||||
this._detailsView.setFileInfo(model);
|
||||
this._detailsView.render();
|
||||
this._detailsView.$el.scrollTop(0);
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue