summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-11-05 08:07:49 +0100
committerGitHub <noreply@github.com>2018-11-05 08:07:49 +0100
commit4be625b128ffed295b97fd8a3cd0d51a02ecf003 (patch)
treeda9fd38908ef214249d6aa9b362634b2c6892cda /apps/files
parentc28ea521554e568ef82aa41eb0151b5a2391f77e (diff)
parentb1fd72c1cf499188db7ddc26c925d7d5eed7aa2a (diff)
downloadnextcloud-server-4be625b128ffed295b97fd8a3cd0d51a02ecf003.tar.gz
nextcloud-server-4be625b128ffed295b97fd8a3cd0d51a02ecf003.zip
Merge pull request #12231 from nextcloud/bugfix/10934/setmodel_before_render
Set the filemodel before rending the detailsview
Diffstat (limited to 'apps/files')
-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 9cc1856d52b..8b12cce51d1 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -576,8 +576,8 @@
}
this._currentFileModel = model;
- this._detailsView.render();
this._detailsView.setFileInfo(model);
+ this._detailsView.render();
this._detailsView.$el.scrollTop(0);
},