diff options
author | Florrie <towerofnix@gmail.com> | 2018-12-21 17:53:25 -0400 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2018-12-21 17:53:25 -0400 |
commit | 919a549cb627611c6d19ab8bc4e95c5a3d2e2b60 (patch) | |
tree | 5d8cb447f572ba4c6456ad38eebfbc26a9b0025d | |
parent | 4238f9b72c46ac45fb5481921844641927524a14 (diff) |
Fix "this group" listing item causing a crash
Somebody remind me to write unit tests...
-rw-r--r-- | ui.js | 2 |
1 files changed, 1 insertions, 1 deletions
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) |