Merge pull request #36331 from tpayen/fix/globalNewButton

fix(files) Call .action of local element instead of global page
This commit is contained in:
Louis 2023-01-31 14:23:16 +01:00 committed by GitHub
commit 3ff568342b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);