aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2023-08-02 19:15:00 -0700
committerChristopher Ng <chrng8@gmail.com>2023-08-09 10:41:17 -0700
commit1acdb73a7d77d42f1c01c91baeb5ed46047d66d4 (patch)
treea26fe81d1fbf5304ad62491c9d77364e2940005e /apps/files/js
parentd6bf9e3c10846d403468e70b39ef34af61458094 (diff)
downloadnextcloud-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.js6
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;
})();
-