summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web_editor/static/src')
-rw-r--r--addons/web_editor/static/src/js/ace.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/web_editor/static/src/js/ace.js b/addons/web_editor/static/src/js/ace.js
index 3fbdad61d66..bbcc4fa4f74 100644
--- a/addons/web_editor/static/src/js/ace.js
+++ b/addons/web_editor/static/src/js/ace.js
@@ -186,9 +186,8 @@ var ViewEditor = Widget.extend({
* @return a deferred which is resolved once everything is loaded and processed.
*/
loadResources: function () {
- return ajax.jsonRpc('/web_editor/customize_template_get', 'call', {
+ return ajax.jsonRpc("/web_editor/get_assets_editor_resources", "call", {
key: this.viewKey,
- full: true,
bundles: this.options.includeBundles
}).then((function (views) {
// Only keep the active views and index them by ID.