From 4f72ba397a8d88de70fba0d7304bb1d74f307c37 Mon Sep 17 00:00:00 2001 From: Christophe Matthieu Date: Wed, 4 Nov 2015 10:14:57 +0100 Subject: [PATCH] [FIX] web_editor: disable save button by default to avoid flickering --- addons/web_editor/static/src/js/editor.js | 1 + 1 file changed, 1 insertion(+) 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 () {