From 919a549cb627611c6d19ab8bc4e95c5a3d2e2b60 Mon Sep 17 00:00:00 2001 From: Florrie Date: Fri, 21 Dec 2018 17:53:25 -0400 Subject: Fix "this group" listing item causing a crash Somebody remind me to write unit tests... --- ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui.js b/ui.js index 3a7f70d..fb1ec02 100644 --- a/ui.js +++ b/ui.js @@ -973,7 +973,7 @@ class GrouplikeListingElement extends Form { ownElement.recordStore = this.recordStore ownElement.isGroup = true ownElement.on('pressed', () => { - InteractiveGrouplikeItemElement.prototype.showMenu.call(ownElement) + ownElement.emit('menu', ownElement) }) this.addEventListeners(ownElement) form.addInput(ownElement) -- cgit 1.3.0-6-gf8a5