[IMP] website_livechat: hide livechat in edit mode
Currently, while designing the website (i.e we are in edit mode), the livechat button (or chat window) is visible. After this commit, the livechat button/window will be hidden while website editor is enabled. TaskID-2824363 closes odoo/odoo#89131 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
committed by
Thibault Delavallée
parent
f7b8f07501
commit
8fa6f28f45
@@ -36,6 +36,9 @@ Allow website visitors to chat with the collaborators. This module also brings a
|
||||
'website_livechat/static/src/legacy/website_livechat_chatbot_test_script.js',
|
||||
'website_livechat/static/src/legacy/public_livechat.scss',
|
||||
],
|
||||
'website.assets_wysiwyg': [
|
||||
'website_livechat/static/src/scss/website_livechat.edit_mode.scss',
|
||||
],
|
||||
'website.assets_editor': [
|
||||
'website_livechat/static/src/js/systray_items/*.js',
|
||||
],
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
body.editor_enable {
|
||||
.o_livechat_button, .o_thread_window {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user