Skip to content
Browse files

[FIX] web_editor: fix summernote files showing up in media dialog

Due to the infamous web_editor revert, summernote assets files are once
again created and stored in DB, but because they do not contain
'assets_' in their name, they would show up in the media dialog. This
commit fixes that by also adding 'summernote' to the assets domain.
  • Loading branch information
sdegueldre committed Feb 13, 2020
1 parent f7eb664 commit f30188406576d0526464f7a9ec3ff976a1b08594
Showing with 3 additions and 1 deletion.
  1. +3 −1 addons/web/static/src/js/core/utils.js
@@ -783,7 +783,9 @@ var utils = {
return [
['res_model', '=', 'ir.ui.view'],
['name', 'like', 'assets_']
['name', 'like', 'assets_'],
['name', 'like', 'summernote'],

0 comments on commit f301884

Please sign in to comment.
You can’t perform that action at this time.