diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-05 09:48:31 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-05 09:48:31 +0200 |
commit | 681ab05e4df38aa0cf60efb5b8bd18973774d975 (patch) | |
tree | 6430418611bb7ce4136a61dd854d6792acfb1664 /apps/files | |
parent | 09fe808d485c7b16c175d945e78425b85c0ba81c (diff) | |
parent | f135128664cae62a831ed46853ac820af6a4812b (diff) | |
download | nextcloud-server-681ab05e4df38aa0cf60efb5b8bd18973774d975.tar.gz nextcloud-server-681ab05e4df38aa0cf60efb5b8bd18973774d975.zip |
Merge pull request #19539 from owncloud/fix-multiselect-overlap-shorter
Fix filelist size issues, breadcrumb, multiselect
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/js/filelist.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 9c4e43b3b8b..2516dd3e957 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -233,6 +233,7 @@ this.$el.find('thead th .columntitle').click(_.bind(this._onClickHeader, this)); this._onResize = _.debounce(_.bind(this._onResize, this), 100); + $('#app-content').on('appresized', this._onResize); $(window).resize(this._onResize); this.$el.on('show', this._onResize); @@ -278,6 +279,7 @@ this.fileActions.off('registerAction', this._onFileActionsUpdated); this.fileActions.off('setDefault', this._onFileActionsUpdated); OC.Plugins.detach('OCA.Files.FileList', this); + $('#app-content').off('appresized', this._onResize); }, /** @@ -437,6 +439,8 @@ this.breadcrumb.setMaxWidth(containerWidth - actionsWidth - 10); + this.$table.find('>thead').width($('#app-content').width() - OC.Util.getScrollBarWidth()); + this.updateSearch(); }, |