summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/editor.js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web_editor/static/src/js/editor.js')
-rw-r--r--addons/web_editor/static/src/js/editor.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/web_editor/static/src/js/editor.js b/addons/web_editor/static/src/js/editor.js
index b365e82ca2e..f74df98b42a 100644
--- a/addons/web_editor/static/src/js/editor.js
+++ b/addons/web_editor/static/src/js/editor.js
@@ -93,6 +93,7 @@ editor.Class = Widget.extend({
return _t('This document is not saved!');
}
};
+ this.$('button[data-action="save"]').prop('disabled', true);
return this._super();
},
display_placeholder: function () {