[FIX] web_editor: fix snippets reloading traceback

This commit is contained in:
David Monjoie
2019-08-07 08:49:46 +00:00
parent 8e4b8be4e6
commit cfbe4bbe42
@@ -746,6 +746,7 @@ var SnippetsMenu = Widget.extend({
},
});
this.cacheSnippetTemplate[this.options.snippets] = this._defLoadSnippets;
return this.cacheSnippetTemplate[this.options.snippets];
},
/**
* Sets the instance variables $editor, $body and selectorEditableArea.