summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/backend/field_html.js
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2019-06-03 15:49:31 +0200
committerChristophe Simonis <chs@odoo.com>2019-06-03 15:49:31 +0200
commitc8d7ad9a6bc55af465392d772ae15e981d0f80c7 (patch)
treee9423fa8d28f85b8ad6a1a16e59afadb8db441e9 /addons/web_editor/static/src/js/backend/field_html.js
parent8085f259c87f1e6b7f9cf89067f56b327b8936e3 (diff)
parent995aa1685eece9ff1070a637d19d511fb1f80260 (diff)
[MERGE] forward port branch saas-12.2 up to 995aa1685ee
Diffstat (limited to 'addons/web_editor/static/src/js/backend/field_html.js')
-rw-r--r--addons/web_editor/static/src/js/backend/field_html.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_editor/static/src/js/backend/field_html.js b/addons/web_editor/static/src/js/backend/field_html.js
index d3f9abfd024..9f6cfaa586a 100644
--- a/addons/web_editor/static/src/js/backend/field_html.js
+++ b/addons/web_editor/static/src/js/backend/field_html.js
@@ -294,7 +294,7 @@ var FieldHtml = basic_fields.DebouncedField.extend(TranslatableFieldMixin, {
resolver();
};
- this.$iframe.one('load', function onLoad() {
+ this.$iframe.on('load', function onLoad() {
var _avoidDoubleLoad = ++avoidDoubleLoad;
ajax.loadAsset(self.nodeOptions.cssReadonly).then(function (asset) {
if (_avoidDoubleLoad !== avoidDoubleLoad) {