summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas P <thomas.payen@i-carre.net>2023-01-24 17:15:38 +0100
committerThomas Payen <thomas.payen@i-carre.net>2023-01-30 15:27:00 +0100
commit87887d78371ead6343957ec0f7d5876441b0f93f (patch)
tree7fe41637cdc050e0726f4083b7d8074f4bef4d23 /apps
parent0be897bdfefc928cc9b566ef8392e6710860f81e (diff)
downloadnextcloud-server-87887d78371ead6343957ec0f7d5876441b0f93f.tar.gz
nextcloud-server-87887d78371ead6343957ec0f7d5876441b0f93f.zip
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 <thomas.payen@i-carre.net>
Diffstat (limited to 'apps')
-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);