Skip to content

Commit 1acdb73

Browse files
committed
feat(files_reminders): emit action menu opened
Signed-off-by: Christopher Ng <[email protected]>
1 parent d6bf9e3 commit 1acdb73

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

apps/files/js/fileactionsmenu.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,15 @@
133133
this.render();
134134
this.$el.removeClass('hidden');
135135

136+
window._nc_event_bus.emit('files:action-menu:opened', {
137+
el: this.$el[0],
138+
context,
139+
})
140+
136141
OC.showMenu(null, this.$el);
137142
}
138143
});
139144

140145
OCA.Files.FileActionsMenu = FileActionsMenu;
141146

142147
})();
143-

0 commit comments

Comments
 (0)