summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPedro Pinto Silva <pedro.silva@collabora.com>2022-06-29 10:15:30 +0200
committerpedropintosilva <65948705+pedropintosilva@users.noreply.github.com>2022-07-07 10:41:18 +0200
commitae65186178b29310f4db0128205c71cb0f7dc6b9 (patch)
tree6b0968185f1a600aa5e02b0f40182aa636b6f7e3
parentHide avatars list when a user entry is selected (diff)
downloadonline-ae65186178b29310f4db0128205c71cb0f7dc6b9.tar.gz
online-ae65186178b29310f4db0128205c71cb0f7dc6b9.zip
Hide avatars list when follow editor changes status
Get rid of the popover once the user completes the action Probably better to avoid having hanging popover (that have no close btn) and instead close them, specially because this one can always be re-opened at anytime from omnipresent toolbar and without risk of triggering any additional change Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com> Change-Id: Id7946512e6c54622e3ed20b28d56178c05b18b5c
-rw-r--r--browser/src/control/Control.Toolbar.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/browser/src/control/Control.Toolbar.js b/browser/src/control/Control.Toolbar.js
index 5dbb70cf87..8950b608c2 100644
--- a/browser/src/control/Control.Toolbar.js
+++ b/browser/src/control/Control.Toolbar.js
@@ -1097,6 +1097,7 @@ function editorUpdate(e) { // eslint-disable-line no-unused-vars
docLayer._followThis = -1;
}
$('#tb_actionbar_item_userlist').w2overlay('');
+ $('#userListPopover').hide();
}
global.editorUpdate = editorUpdate;