From 632b3c554cc716387f25c31972dc704ae9fbcc59 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Tue, 25 Jun 2019 17:58:41 +0300 Subject: [PATCH] Mentions: fix loading users --- apps/common/main/lib/view/ReviewPopover.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/common/main/lib/view/ReviewPopover.js b/apps/common/main/lib/view/ReviewPopover.js index 57de44be8..958928b39 100644 --- a/apps/common/main/lib/view/ReviewPopover.js +++ b/apps/common/main/lib/view/ReviewPopover.js @@ -967,6 +967,7 @@ define([ this.externalUsers = data.data || []; this.isUsersLoading = false; this._state.emailSearch && this.onEmailListMenu(this._state.emailSearch.str, this._state.emailSearch.left, this._state.emailSearch.right); + this._state.emailSearch = null; }, getPopover: function(options) { @@ -993,7 +994,7 @@ define([ } }, - onEmailListMenu: function(str, left, right) { + onEmailListMenu: function(str, left, right, show) { var me = this, users = me.externalUsers, menu = me.emailMenu;