diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2015-03-27 01:34:55 +0100 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2015-03-27 01:34:55 +0100 |
commit | d728b85fddb91bc9f854e6f4b66772d666aaf732 (patch) | |
tree | c43aa7db13bb430aaa3d690652d75a3374928c94 /apps/files/js | |
parent | fb8994603bb68e2787ff836938b3b15905942731 (diff) | |
download | nextcloud-server-d728b85fddb91bc9f854e6f4b66772d666aaf732.tar.gz nextcloud-server-d728b85fddb91bc9f854e6f4b66772d666aaf732.zip |
adjust controls bar width to not overlay scrollbar
Diffstat (limited to 'apps/files/js')
-rw-r--r-- | apps/files/js/filelist.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 67bc487a72f..9d60e77b0ac 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -635,6 +635,8 @@ * @param filesArray array of file data (map) */ setFiles: function(filesArray) { + var self = this; + // detach to make adding multiple rows faster this.files = filesArray; @@ -655,7 +657,10 @@ this.updateSelectionSummary(); $(window).scrollTop(0); - this.$fileList.trigger(jQuery.Event("updated")); + this.$fileList.trigger(jQuery.Event('updated')); + _.defer(function() { + self.$el.closest('#app-content').trigger(jQuery.Event('apprendered')); + }); }, /** * Creates a new table row element using the given file data. |