Skip to content

Commit

Permalink
feat(files_reminders): emit action menu opened
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Ng <chrng8@gmail.com>
  • Loading branch information
Pytal committed Aug 9, 2023
1 parent d6bf9e3 commit 1acdb73
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion apps/files/js/fileactionsmenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,15 @@
this.render();
this.$el.removeClass('hidden');

window._nc_event_bus.emit('files:action-menu:opened', {
el: this.$el[0],
context,
})

OC.showMenu(null, this.$el);
}
});

OCA.Files.FileActionsMenu = FileActionsMenu;

})();

0 comments on commit 1acdb73

Please sign in to comment.