aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorLouis <6653109+artonge@users.noreply.github.com>2023-01-31 14:23:16 +0100
committerGitHub <noreply@github.com>2023-01-31 14:23:16 +0100
commit3ff568342b6c70dc90daa658e69f93049787e77c (patch)
tree00b9382f4f564d2ade1da3f102621619c8192807 /apps/files/js
parente7c9fdb1ac1765972b811d17556fdb74fa7a2051 (diff)
parent87887d78371ead6343957ec0f7d5876441b0f93f (diff)
downloadnextcloud-server-3ff568342b6c70dc90daa658e69f93049787e77c.tar.gz
nextcloud-server-3ff568342b6c70dc90daa658e69f93049787e77c.zip
Merge pull request #36331 from tpayen/fix/globalNewButton
fix(files) Call .action of local element instead of global page
Diffstat (limited to 'apps/files/js')
-rw-r--r--apps/files/js/filelist.js2
1 files changed, 1 insertions, 1 deletions
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);