diff options
author | Christopher Ng <chrng8@gmail.com> | 2023-08-02 19:15:00 -0700 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2023-08-09 10:41:17 -0700 |
commit | 1acdb73a7d77d42f1c01c91baeb5ed46047d66d4 (patch) | |
tree | a26fe81d1fbf5304ad62491c9d77364e2940005e /apps/files/js | |
parent | d6bf9e3c10846d403468e70b39ef34af61458094 (diff) | |
download | nextcloud-server-1acdb73a7d77d42f1c01c91baeb5ed46047d66d4.tar.gz nextcloud-server-1acdb73a7d77d42f1c01c91baeb5ed46047d66d4.zip |
feat(files_reminders): emit action menu opened
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/files/js')
-rw-r--r-- | apps/files/js/fileactionsmenu.js | 6 |
1 files changed, 5 insertions, 1 deletions
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; })(); - |