From 1acdb73a7d77d42f1c01c91baeb5ed46047d66d4 Mon Sep 17 00:00:00 2001 From: Christopher Ng Date: Wed, 2 Aug 2023 19:15:00 -0700 Subject: [PATCH] feat(files_reminders): emit action menu opened Signed-off-by: Christopher Ng --- apps/files/js/fileactionsmenu.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/files/js/fileactionsmenu.js b/apps/files/js/fileactionsmenu.js index c252ffa96b0..7eecf209984 100644 --- a/apps/files/js/fileactionsmenu.js +++ b/apps/files/js/fileactionsmenu.js @@ -133,6 +133,11 @@ 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); } }); @@ -140,4 +145,3 @@ OCA.Files.FileActionsMenu = FileActionsMenu; })(); - -- 2.39.5