Skip to content
Snippets Groups Projects
Commit 750bb8e5 authored by Younn Olivier's avatar Younn Olivier
Browse files

[FIX] web_editor: update image gallery miniatures


When changing an image in the image gallery snippet, the miniature was not
updated. It was due to the 'save' event that was not triggered.

task-2438556

closes odoo/odoo#65461

Signed-off-by: default avatarQuentin Smetz (qsm) <qsm@odoo.com>
parent 8dbbff5c
No related branches found
No related tags found
No related merge requests found
......@@ -497,6 +497,7 @@ var FileWidget = SearchableMediaWidget.extend({
self.$media.removeAttr('data-' + attr);
});
}
self.$media.trigger('save')
return self.media;
});
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment