]> source.dussan.org Git - nextcloud-server.git/commit
Set the filemodel before rending the detailsview 12301/head
authorRoeland Jago Douma <roeland@famdouma.nl>
Fri, 2 Nov 2018 21:45:25 +0000 (22:45 +0100)
committerRoeland Jago Douma <roeland@famdouma.nl>
Tue, 6 Nov 2018 07:10:19 +0000 (08:10 +0100)
commit2d153adb6465fe98af49045d37068b3efc43405d
tree7a604ce6213cdccef790c9c2081993d9bb086caf
parent288991a61081639e245c3fa28a62ffa8a30ba331
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>
apps/files/js/filelist.js