summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-11-06 09:59:48 +0100
committerGitHub <noreply@github.com>2018-11-06 09:59:48 +0100
commit524a344d25daf7de7386e3e4875e360643a1a222 (patch)
tree7a604ce6213cdccef790c9c2081993d9bb086caf
parent288991a61081639e245c3fa28a62ffa8a30ba331 (diff)
parent2d153adb6465fe98af49045d37068b3efc43405d (diff)
downloadnextcloud-server-524a344d25daf7de7386e3e4875e360643a1a222.tar.gz
nextcloud-server-524a344d25daf7de7386e3e4875e360643a1a222.zip
Merge pull request #12301 from nextcloud/backport/12231/stable14
[14] Set the filemodel before rending the detailsview
-rw-r--r--apps/files/js/filelist.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index 42b80189287..a7dadbbab3e 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -568,8 +568,8 @@
}
this._currentFileModel = model;
- this._detailsView.render();
this._detailsView.setFileInfo(model);
+ this._detailsView.render();
this._detailsView.$el.scrollTop(0);
},