Skip to content

Commit

Permalink
Merge pull request #36331 from tpayen/fix/globalNewButton
Browse files Browse the repository at this point in the history
fix(files) Call .action of local element instead of global page
  • Loading branch information
artonge authored Jan 31, 2023
2 parents e7c9fdb + 87887d7 commit 3ff5683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files/js/filelist.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 3ff5683

Please sign in to comment.