diff options
| author | jpr-odoo <jpr@openerp.com> | 2018-06-06 10:48:21 +0530 |
|---|---|---|
| committer | Alexandre Kühn <aku@odoo.com> | 2018-07-25 22:23:26 +0200 |
| commit | ad3e567dc6dc95486807b963c89ce1eb86c1413f (patch) | |
| tree | b5c5aef30bd6b6d6c4c59d838550a3dfdb1a1a45 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 58fc4e440952bde533c8aa1dc8b6fc2440a05337 (diff) | |
[IMP] mail: draft activity feedback popup from the Chatter
Before this commit, when we were writing a feedback on an activity marked as
done, and then clicked somewhere else by mistake, the popup would disappear
and the content was lost.
With this commit, we do not lost what we have written in the feedback popover
in the case above: a temporary draft is made, so that reopening the feedback
popup restores its previous content.
Note that the draft is kept in JS, so it will be lost on new page or page
reload. Also, there is no test, because of `$.popover`. In particular,
animations cannot be disabled with `$.support.transition=false`, and there
is not way to detect when transitions end (delays in test is a very bad idea
for obvious reasons).
Task-ID 1832491
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
