From 87887d78371ead6343957ec0f7d5876441b0f93f Mon Sep 17 00:00:00 2001 From: Thomas P Date: Tue, 24 Jan 2023 17:15:38 +0100 Subject: fix(files) Call .action of local element When calling .action from the global page, newButton may conflict with other app-content which is similar to app-content-files Signed-off-by: Thomas Payen --- apps/files/js/filelist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/files/js') diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index a74cc79a83f..e7641b2607d 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -3859,7 +3859,7 @@ this._newFileMenu = new OCA.Files.NewFileMenu({ fileList: this }); - $('.actions').append(this._newFileMenu.$el); + this.$el.find('.files-controls .actions').append(this._newFileMenu.$el); } this._newFileMenu.showAt($target); -- cgit v1.2.3