diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2022-12-14 17:36:17 +0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2023-01-04 16:45:54 +0100 |
commit | 8f1bf13ae3046400ce6248fb13e5515e8e9ed5c4 (patch) | |
tree | 99226cda65fe6c836fb8c52740a5a94de72bdaab /apps/files/js/filelist.js | |
parent | 5c987a0ff4530cd0951920fcbfaf97411aeec17a (diff) | |
download | nextcloud-server-8f1bf13ae3046400ce6248fb13e5515e8e9ed5c4.tar.gz nextcloud-server-8f1bf13ae3046400ce6248fb13e5515e8e9ed5c4.zip |
Fix preview crop
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/js/filelist.js')
-rw-r--r-- | apps/files/js/filelist.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 37aa9139850..4feb7ad990d 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -395,7 +395,6 @@ this.$fileList.on('change', 'td.selection>.selectCheckBox', _.bind(this._onClickFileCheckbox, this)); this.$fileList.on('mouseover', 'td.selection', _.bind(this._onMouseOverCheckbox, this)); - console.debug('F2V', this.$el); this.$el.on('show', _.bind(this._onShow, this)); this.$el.on('urlChanged', _.bind(this._onUrlChanged, this)); this.$el.find('.select-all').click(_.bind(this._onClickSelectAll, this)); @@ -416,7 +415,7 @@ this._setCurrentDir(options.dir || '/', false); } - if(options.openFile) { + if (options.openFile) { // Wait for some initialisation process to be over before triggering the default action. _.defer(() => { try { @@ -757,7 +756,7 @@ * Event handler when leaving previously hidden state */ _onShow: function(e) { - console.debug('F2V', 'onShow', e); + console.debug('F2V onShow', [e.dir, e.itemId], e); OCA.Files.App && OCA.Files.App.updateCurrentFileList(this); if (e.itemId === this.id) { this._setCurrentDir('/', false); @@ -772,7 +771,7 @@ * Event handler for when the URL changed */ _onUrlChanged: function(e) { - console.debug('F2V', 'onUrlChanged', e); + console.debug('F2V onUrlChanged', [e.dir], e); if (e && _.isString(e.dir)) { var currentDir = this.getCurrentDirectory(); // this._currentDirectory is NULL when fileList is first initialised |