[FIX] web_editor: preventing traceback on quote icon click
Before this commit: Onclicking quote icon of BlockQuote generates traceback After this commit: Now on clicking quote icon doesnot generate traceback Task-2920794 closes odoo/odoo#96944 Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
This commit is contained in:
@@ -1732,9 +1732,9 @@ const Wysiwyg = Widget.extend({
|
||||
// Tooltips need to be cleared before leaving the editor.
|
||||
this.saving_mutex.exec(() => {
|
||||
$target.tooltip({title: _t('Double-click to edit'), trigger: 'manual', container: 'body'}).tooltip('show');
|
||||
this.tooltipTimeouts.push(setTimeout(() => $target.tooltip('dispose'), 800));
|
||||
});
|
||||
this.odooEditor.observerActive();
|
||||
this.tooltipTimeouts.push(setTimeout(() => $target.tooltip('dispose'), 800));
|
||||
}, 400));
|
||||
}
|
||||
// Update color of already opened colorpickers.
|
||||
|
||||
Reference in New Issue
Block a user