Permalink
Browse files

[FIX] web_editor: properly allow to reset bg color

If resetting a background color was the only edition that was done on a
page and that this page was saved, the change was not properly saved
as the page was not marked as dirty.

Closes #27625
task-1879524
  • Loading branch information...
kig-odoo authored and qsm-odoo committed Aug 24, 2018
1 parent ba09b89 commit 227fc6408ddc998529bb1c38222ddba50f40868b
Showing with 1 addition and 0 deletions.
  1. +1 −0 addons/web_editor/static/src/js/snippets.options.js
@@ -565,6 +565,7 @@ odoo.define('web_editor.snippets.options', function (require) {
this.$el.find('.note-color-reset').on('click', function () {
self.$target.removeClass(self.classes);
self.$target.trigger('content_changed');
$colors.removeClass("selected");
});
}

0 comments on commit 227fc64

Please sign in to comment.