diff options
| author | Christophe Simonis <chs@odoo.com> | 2019-07-25 20:01:05 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-07-25 20:01:05 +0200 |
| commit | a4b1b532ea09f8cbb5f208fb24b57cbea04ea753 (patch) | |
| tree | 03290dade554f08cf1278ebecaf651c48924342b /addons/mail/static/src | |
| parent | 7e5a80abc666bfa4d5b50a2d717a0d0d72a23dbf (diff) | |
| parent | b82df99d7a86fa3bc2670f00a0ef025263362cda (diff) | |
[MERGE] forward port branch 12.0 up to b82df99d7a8
Diffstat (limited to 'addons/mail/static/src')
| -rw-r--r-- | addons/mail/static/src/js/activity.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/addons/mail/static/src/js/activity.js b/addons/mail/static/src/js/activity.js index 68ff4b0b86f..1ee96f18672 100644 --- a/addons/mail/static/src/js/activity.js +++ b/addons/mail/static/src/js/activity.js @@ -383,7 +383,7 @@ var BasicActivity = AbstractField.extend({ container: $markDoneBtn, title : _t("Feedback"), html: true, - trigger:'click', + trigger: 'manual', placement: 'right', // FIXME: this should work, maybe a bug in the popper lib content : function () { var $popover = $(QWeb.render('mail.activity_feedback_form', { @@ -400,6 +400,11 @@ var BasicActivity = AbstractField.extend({ $popover.find('#activity_feedback').focus(); self._bindPopoverFocusout($(this)); }).popover('show'); + } else { + var popover = $markDoneBtn.data('bs.popover'); + if ($('#' + popover.tip.id).length === 0) { + popover.show(); + } } }, /** |
