diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2015-07-23 18:29:45 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2015-08-07 01:22:43 +0200 |
commit | f508cf40da93eba05a17b4ffa834a125dbdb2bcb (patch) | |
tree | de8272b93088bf8a8e57871405790e6185a7e35f /apps/files/js/filelist.js | |
parent | 734c6b0b6f10cb8cb39773e1c93088c24c9f50af (diff) | |
download | nextcloud-server-f508cf40da93eba05a17b4ffa834a125dbdb2bcb.tar.gz nextcloud-server-f508cf40da93eba05a17b4ffa834a125dbdb2bcb.zip |
sidebar shall not overlap but shrink the contnet
Diffstat (limited to 'apps/files/js/filelist.js')
-rw-r--r-- | apps/files/js/filelist.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index a03c4e1754f..7e94d5c3d4e 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -214,7 +214,7 @@ if (_.isUndefined(options.detailsViewEnabled) || options.detailsViewEnabled) { this._detailsView = new OCA.Files.DetailsView(); this._detailsView.addDetailView(new OCA.Files.MainFileInfoDetailView()); - this.$el.append(this._detailsView.$el); + this._detailsView.$el.insertAfter(this.$el); this._detailsView.$el.addClass('disappear'); } @@ -301,6 +301,7 @@ if (!fileInfo) { this._detailsView.$el.addClass('disappear'); + this.$el.removeClass('with-sidebar'); this._detailsView.setFileInfo(null); return; } @@ -312,6 +313,7 @@ this._detailsView.$el.scrollTop(0); _.defer(function() { self._detailsView.$el.removeClass('disappear hidden'); + self.$el.addClass('with-sidebar'); }); }, |