[FIX] web_editor: prevent widgets with no method to auto-update $target

This commit is contained in:
qsm-odoo
2019-12-09 12:48:07 +00:00
parent 2521578033
commit 90c672cd22
@@ -349,6 +349,10 @@ const UserValueWidget = Widget.extend({
* @param {boolean} [previewMode=false]
*/
_notifyValueChange: function (previewMode) {
if (!this._methodsNames.length) {
return;
}
const data = {
widget: this,
};