summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/js/base.js
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2017-07-07 14:14:55 +0200
committerChristophe Simonis <chs@odoo.com>2017-07-07 14:14:55 +0200
commit514a1a76d81de3943f752ceaa5e487a2d25b9bb7 (patch)
treeefa4f61f4452e7ab320e9b2c517d629fbceed8ae /addons/web_editor/static/src/js/base.js
parent15aa164eaf3819e46fa796bcfa6427c7014bb1dd (diff)
parent5b285707693dd1064dde40778259cc0525eca15f (diff)
[MERGE] forward port branch saas-14 up to 5b285707693
Diffstat (limited to 'addons/web_editor/static/src/js/base.js')
-rw-r--r--addons/web_editor/static/src/js/base.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web_editor/static/src/js/base.js b/addons/web_editor/static/src/js/base.js
index e4e2fcd6cad..4368f6de274 100644
--- a/addons/web_editor/static/src/js/base.js
+++ b/addons/web_editor/static/src/js/base.js
@@ -36,7 +36,7 @@ data.ready = function () {
// TODO find a better way to find if we are in the backend or not
// We don't load translation if we are in the backend since it's already done by the webclient
if (!$(document).find('.o_web_client').length) {
- load_translations();
+ return load_translations();
}
});
} else if(all_ready.state() === "resolved") { // can add async template