diff options
| author | Debauche Stéphane <std@odoo.com> | 2019-11-04 14:59:30 +0000 |
|---|---|---|
| committer | Debauche Stéphane <std@odoo.com> | 2019-11-04 15:02:50 +0000 |
| commit | 88145eb645777b7292b1120c632ae75fdf3f4779 (patch) | |
| tree | 7e89b8450b70e9f71f467a2c2dcc102ce15c6e9e /addons/mail/static/src/js/models/threads/document_thread.js | |
| parent | 67951fe074c4907b066d0e34702e7a44dc1a74c5 (diff) | |
[FIX] im_livechat: fix the ajax loading on external website
Bug
===
The file "public_root.js" try to load "/web/webclient/locale/en_US" with ajax.loadJS
we do not have the address to the Odoo server, so we try to load the file locally
but this file might not exist on the website which is using the widget
Fix
===
Overwrite ``ajax.loadJS`` and ignore ajax loading
(also printing a warning message in the JS console)
Task #2081146
closes odoo/odoo#41177
X-original-commit: 50f8508ca8569acc538a2af6a3c1162d39f834cd
Signed-off-by: std-odoo <std-odoo@users.noreply.github.com>
Diffstat (limited to 'addons/mail/static/src/js/models/threads/document_thread.js')
0 files changed, 0 insertions, 0 deletions
