diff options
| author | Christophe Simonis <chs@odoo.com> | 2019-07-26 11:32:43 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-07-26 11:32:43 +0200 |
| commit | e0f9c092ccefc0516d06a9dc7f66e650eee888cf (patch) | |
| tree | 0c404769dc28af133425cf9756a83569c70b31f3 /addons/mail/static/src/js/activity.js | |
| parent | 7d78795f8b34bc6a8afde18427a1c26901824db3 (diff) | |
| parent | 1d6d790513e3f1177dc0059f2ba4a06de6d87ac2 (diff) | |
[MERGE] forward port branch saas-12.2 up to 1d6d790513e
Diffstat (limited to 'addons/mail/static/src/js/activity.js')
| -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 607f1b8c553..77550f498f3 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(); + } } }, /** |
