summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/backend/fields.js
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2017-12-06 11:59:38 +0100
committerChristophe Simonis <chs@odoo.com>2017-12-06 11:59:38 +0100
commitf96a797fe6238306ec70d3db013b8a4d348ef181 (patch)
tree40990f6ca69840a52421c4a52f68e439ba1a5b42 /addons/web_editor/static/src/js/backend/fields.js
parentdc5755698cc41e0c5f51ab5dccee1356a0f23a3f (diff)
parentb8540eefe3b82fc4a54c8a808ce3bfa0bea8a29a (diff)
[MERGE] forward port branch saas-16 up to b8540eefe3b
Diffstat (limited to 'addons/web_editor/static/src/js/backend/fields.js')
-rw-r--r--addons/web_editor/static/src/js/backend/fields.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/web_editor/static/src/js/backend/fields.js b/addons/web_editor/static/src/js/backend/fields.js
index 00c02e20513..95afaa90073 100644
--- a/addons/web_editor/static/src/js/backend/fields.js
+++ b/addons/web_editor/static/src/js/backend/fields.js
@@ -51,6 +51,9 @@ var FieldTextHtmlSimple = basic_fields.DebouncedField.extend(TranslatableFieldMi
var layoutInfo = this.$textarea.data('layoutInfo');
$.summernote.pluginEvents.codeview(undefined, undefined, layoutInfo, false);
}
+ if (this._getValue() !== this.value) {
+ this._isDirty = true;
+ }
this._super.apply(this, arguments);
},
/**