diff options
| author | Odoo's Mergebot <xmo+roboto@odoo.com> | 2020-02-19 13:10:08 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-19 13:10:08 +0100 |
| commit | 3184a911e76d95863ab73e7edb500dcb224df68b (patch) | |
| tree | e495d89552898eba884057bac6fc074a6f64bb7d /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | a7009100a601743a222b9eab8d7a2ebe9ea62575 (diff) | |
| parent | 6f2865e456d4e04ee8e72806481c8e9ab6f23bbc (diff) | |
[MERGE] (im/website)_livechat : set session as inactive after closing it
PURPOSE
If a visitor closes the livechat window, he is redirected on rating / feedback
/ send_transcript screen but he cannot go back to the conversation unless he
reloads the whole page.
Conversation should be considered as inactive after the first click on X.
SPECIFICATIONS
This merge holds two main commits
* move close livechat session to base livechat module in order to be able
to flag the livechat as inactive when the visitor leave the conversation;
* set livechat inactive _onCloseChatWindow: closes the conversation (set
as livechat inactive and send the 'has left conversation' message) at
first time the visitor closes the conversation;
See sub commits for more details.
LINKS
Task ID: 2120210
Community PR odoo/odoo#39939
Upgrade odoo/upgrade#772
Related: odoo/upgrade#772
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
