diff options
| author | Christophe Matthieu <chm@odoo.com> | 2015-11-04 10:14:57 +0100 |
|---|---|---|
| committer | Christophe Matthieu <chm@odoo.com> | 2015-11-04 16:10:43 +0100 |
| commit | 4f72ba397a8d88de70fba0d7304bb1d74f307c37 (patch) | |
| tree | c5a80a5aa7554c4a89c4a4835c294dacba9f7cae /addons/web_editor/static/src/js/editor.js | |
| parent | affce2c49c1331b655d339d2f19fac0f66f5f13f (diff) | |
[FIX] web_editor: disable save button by default to avoid flickering
Diffstat (limited to 'addons/web_editor/static/src/js/editor.js')
| -rw-r--r-- | addons/web_editor/static/src/js/editor.js | 1 |
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 () { |
