diff options
| author | David Beguin <dbe@odoo.com> | 2019-09-27 15:05:18 +0000 |
|---|---|---|
| committer | David Beguin <dbe@odoo.com> | 2019-09-30 08:07:41 +0000 |
| commit | f15a4a31cf499688405828e2a46cf7fdc3d98020 (patch) | |
| tree | e38ec53602fec7ce1627f7ac78f5b079f47783b0 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 8de9ce5f7a033f4f0687e9d61bf52397cc964b86 (diff) | |
[FIX] livechat : do not close livechat after feedback-rating, positive or negative
Since there is now a possibility for the user to ask a copy of the conversation,
livechat window should not be closed after feedback, to let the user choose to
receive a copy.
The behaviour was no aligned between positive and neutral/negative feedback.
Before, when sending a positive rating, the rating was not sent as a message on the channel
and the window didn't close.
But for neutral/negative feedback, the window was sending the rating as a message on the channel
but the chatter closed immediately.
Now, the rating is sent as a message for any type of rating.
If this is a neutral / negative rating, the reason field appears.
After sending the reason, the window stays opened.
Task ID: 2076656
PR #37511
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
